Hi Mark,
Thanks for posting in the community!
From your description, you problem is when you modified some widgets the
parent control was removed from the Form. If I misunderstood your problem
please feel free to reply this thread to let me know.
This type of problem probably caused by an internal exception was thrown in
the usercontrol when these widgets interacting with it, VSIDE caught this
exception and removed this user control from the designer.
Since it's a design-time issue, many factors might causes this problem. We
need first try narrowing down this issue.
1. set up the symbol server setting in VS.NET
<Using a Symbol Server>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsdebug/htm
l/vxtskusingasymbolserver.asp
2.You may follow this article to do some debugging with your usercontrol in
design-time.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/
html/designtimedebugging.asp
Besides the settings in the article you may also check the
"Debug->Exceptions" dialog, Select the "CLR Exceptions" and set "When the
Exception is thrown" to "break into the debugger". This will catch the
first-chance exception (before VS.NET IDE handle it) and let us know more
about what was happened.
3. You may take a look at the call stack, to see if you could find some
clue from it.
if you need further help on this issue, please post detail information
about this issue, with the call stack, besides please also provide some
background information about this issue, such as:
Are these widgets you mentioned all Winforms Controls provided by .NET
Framework? If not, you may try putting the .NET Framework controls only to
see if the problem is still occurred.
Thanks!
Best regards,
Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, "online" should be removed before
sending.