C# User control containing child -
i created user control inherits panel . goal have collection of collapsible panels. here how user control looks (no comment on ugly it's :p) i'm using main class control, 1 collection (using collectionbase ) , 3rd one, item. my problem when add item, need main control added panel. drawing looks fine, i'm not getting expected result. i'm not sure expose problem. let's in visual studio putting panel1 on form1, , panel2 + panel 3 in panel 1 the form1.designer.cs contain : form1.controls.add(panel1); panel1.controls.add(panel2); panel1.controls.add(panel3); this i'll willing do. tried create event onitemadded , subscribe in order add panel not working charm, plus trigger @ compilation, each time collection getting populated while needs done once only. i'm sorry bad english, if need clarify something, not hesitate tell me. i'm not sure part of code need, if want, ask ! thank you hints in advance ! hi terrybozzio , thank a...