Have a set of user controls in a Winforms application (C#):
- A - inherits from UserControl, contains the protected treeview tnA in a tablelayoutpanel + some buttons and an imagelist.
- B - inherits from A
- C - inherits from A
Now I have two problems:
1) I cannot add new controls to B and C.
When I try to drag a checkbox onto B [Design], I get a black circle with line across.
The tablelayoutpanel on A is modifiers = protected.
2) I cannot add events to the treeview on B.
I would for example like to implement tnA.NodeMouseClick() on B, but the event isn't raised.
Any ideas for how these two things can be fixed?
Thanks!