Multiple Controls Genaration
Hi friends.. I want to create a windows form in which i have a button ,when we click on this button a panel will be created.....if we click it n times ,it will create n panels......any one have idea...if you have any idea..kindly replay me with those articles(url)...please help me(in C#)


VulpesRank #55 · 29.2K reputationPosted Apr 21, 2014, 2:05 AM EDT
As a 'rough and ready' demo, try this code which places up to 30 small panels, side by side, in a 5 x 6 matrix on a default 300 x 300 form. The button should be placed at the bottom of the form:
Naredla NitheshRank #4,252 · 355 reputationPosted Apr 21, 2014, 11:05 AM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 21, 2014, 1:36 PM EDT
Naredla NitheshRank #4,252 · 355 reputationPosted Apr 22, 2014, 11:50 AM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 23, 2014, 2:50 AM EDT
Are you saying that the delete button is deleting the whole UserControl and not just it's associated panel?