i want create a panel dynamically

  • Thread starter Thread starter koti
  • Start date Start date
K

koti

hi all,


i want to create a panel in the user control of windows application.

the panel should have textboxes lables, radio button, checck box's etc
can u please tell me is it possible do like this


Thanks
Koti
 
For sure.

For example
Panel p =new Panel();
p.Dock = DockStyle.Fill;
//other panel settings and add child controls.

myUserControl.Controls.Add(p)
 
Back
Top