I have the following class schema:
public class A : System.Windows.Forms.Form { protected Panel panelA; } public class B : A { protected Panel panelB; } |
How do I know that panelA is a member of A, and panelB a member of B class I need to serialize class B, and when I do that, inherited controls are also serialized (through b.Controls).

Get list of inherited controls
Moh_Sheybani
Alex Leung
Maybe I'm missing something but why is it a problem that the inherited controls are also serialized Wouldn't you want to do that