In such situations you better handle it completely programaticaly.
The same situationarrises if you want to handle 100 or more buttons via the designer...
See how 1 Panel is handled in code (designer.cs file etc.) Copy that code and make an array or List of Panels and set all the properties in the code. I place this code right after the InitializeComponent(); method in the constructor of the form. Success!
ddanbe
Senior Poster
3,829 posts since Oct 2008
Reputation Points: 2,070
Solved Threads: 661