I have a question about where and how to dispose the controls, say, in Form1, a Tabcontrol is generated programmatically, different numbers of pages are added to that tabcontrol programmatically depending on the need, my question is since they are all created programmatically, do I need to handle the dispose by myself, somewhere? Or it will be taken care of when Form1 close?
Thanks! Or anyone could recommend a good book on .NET, where I can find all the answers to these questions.
Thanks! Or anyone could recommend a good book on .NET, where I can find all the answers to these questions.