This thread was started in Click Here, and I created this thread in hopes of making it easier to find.
I have been working on a program that creates several controls dynamically in a LayeredPane.The code to add all the controls to the Pane has gotten really long. Is there a way to create a seperate class that creates and adds the controls to the Pane, call it from the MyLayer method. I still have a lot of code to put in and I would like to keep the code in the main form as simple as possible. I will continue researching the issue, but any assitance is appreciated.