Forma textbox’a girilen değer kadar textbox oluşturma C#
using System; using System.Collections.Generic; using System.ComponentModel;//www.gorselprogramlama.com using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace alt_alta_textbox { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private TextBox[] txtSoru;//www.gorselprogramlama.com int adet; private void button1_Click(object sender, EventArgs e) { adet = Convert.ToInt32(textBox1.Text); txtSoru = new TextBox[adet];//www.gorselprogramlama.com for (int i =0; i < adet; i++) { txtSoru[i] = new TextBox(); txtSoru[i].Multiline = true; txtSoru[i].ScrollBars = ScrollBars.Vertical; txtSoru[i].Location = new Point(250, 90 * i); txtSoru[i].Size = new Size(200, 60); this.Controls.Add(txtSoru[i]);//www.gorselprogramlama.com } } } }