private void button2_Click(object sender, EventArgs e) { // frmsalesorderbooking f2 = new frmsalesorderbooking(); //// groupBox1 gb = new GroupBox1(); // int topPosition = 5; // for (int j = 0; j < Convert.ToInt32(textBox6.Text.ToString()); j++) // { // comboBox2 cb = new ComboBox1(); // cb.left = 5; // cb.top = topPosition; // topPosition += 30; // gb.controls.Add(cb); // } // frmsalesorderbooking.Control.Add(gb); // frmsalesorderbooking.show(); if (Visible == false) { textBox14.Visible = true; textBox18.Visible = true; textBox27.Visible = true; }
frmsalesorderbooking.Control.Add(gb);
f2
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)