Usercontrol like container
-
Thursday, April 05, 2012 3:20 PMI made a User control. I add two Panel in this Usercontrol. But i want one of panel keep control like container when i add my usercontrol in the from. but when i add user control in the from but my usercontrol does not contrin any control. how can i user usercontrol like container
All Replies
-
Thursday, April 05, 2012 3:53 PMto enable your usercontrol to be a parent container control, you need to add a ParentControlDesigner Designer attribute
thanks for any help
-
Friday, April 06, 2012 4:44 AMhow . can you provide some code
-
Friday, April 13, 2012 1:25 PM
Have a look at the "Examples" section: http://msdn.microsoft.com/en-us/library/system.windows.forms.design.parentcontroldesigner.aspxArmin
- Marked As Answer by Shanks ZenMicrosoft Contingent Staff, Moderator Wednesday, April 18, 2012 7:38 AM

