Hi,
You can Add multiple control by creating a new instance of the control.
var p1 = new Panel()
var controlCount = Convert.ToInt(textbox1.Text);
for(i=0;i<controlcount;i++)>
{
var c1 = new ComboBox();
p1.Controls.Add(c1);
}
This is how you can add multiple controls in your panel. And for your second issue regarding adding your control vertically, you can use
StackPanel instead of Panel control to add your dynamically created controls.
Thanks
-Amit Gajjar