public void InitializeComponent() { this.listBox1 = new System.Windows.Forms.ListBox(); this.button1 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // listBox1 // this.listBox1.FormattingEnabled = true; this.listBox1.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6"}); this.listBox1.Location = new System.Drawing.Point(70, 31); this.listBox1.Name = "listBox1"; this.listBox1.Size = new System.Drawing.Size(120, 95); this.listBox1.TabIndex = 0;
string strText = textbox1.Text; listBox1.Items.Add(strText);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)