[RESOLVED] All child controls disappeared
In the project I'm working on, I was editing a class and when I got done, I clicked save all. I moved on to my main form's designer. When it came up, the custom tab control I have on the form was blank. There used to be a ton of controls in it, so I am extremely confused about where everything went.
I checked the properties window and it thinks everything is still there:
http://img694.imageshack.us/img694/8...tieswindow.png
But when I check the Document Outline window, everything is gone. The tab control is still there, "AVERT Wizard", but all of it's child controls and tab pages are gone.
http://img94.imageshack.us/img94/479/doentoutline.png
Even the event handlers are still there within the code and the project builds and runs just fine, but the controls are still missing. When I run the project and click a button to change the tab page, an exception isn't thrown. So it seems like VS thinks everything is there, with the exception of Document Outline.
Does anyone have any ideas about how to fix this? I really don't want to have to manually re-do every control. That would be extremely time consuming.
Re: All child controls disappeared
try closing your form + then reopening it + if that doesn't work, close + reopen your project
Re: All child controls disappeared
Quote:
Originally Posted by
.paul.
try closing your form + then reopening it + if that doesn't work, close + reopen your project
I've done both. I think saving the project doomed me. Had I seen the issue before I saved it, I wouldn't have, but there's nothing I can do about that now.
Re: All child controls disappeared
open the forms designer.vb file + check the tabpages are being added to the tabcontrol
Re: All child controls disappeared
Quote:
Originally Posted by
.paul.
open the forms designer.vb file + check the tabpages are being added to the tabcontrol
You'e a genius, Paul. That was the issue. You've saved me a huge headache.
Thanks a lot :D
Re: All child controls disappeared
Quote:
Originally Posted by
.paul.
open the forms designer.vb file + check the tabpages are being added to the tabcontrol
To further elaborate, make sure nothing got commented out in the designer somehow. VS does some weird stuff sometimes.
Re: All child controls disappeared
Quote:
Originally Posted by
.paul.
open the forms designer.vb file + check the tabpages are being added to the tabcontrol
sorry sir, i don't understand what is "+ check the tabpages are being added to the tabcontrol" means