Form loses all controls and formatting in [Design] View, even though the designer code is fine.
Posted on 2008-06-12
I made no changes to this form, nothing at all. Yet all of a sudden, everything just "dissapears" and it looks like a completely new form. I checked the form designer code and everything is fine, no errors are reported, my form just completely *insert bad word here* vanished!
Now, I have tried several things to fix this, and nothing has worked so far. The oddities that I noticed was that.
A.) When I try to edit code in the designer code, nothing stays, e.g. everytime the form is "viewed" in the Visual c# program, the changes I made in the designer code is completely un-done.
B.) this.Performlayout(); is no longer at the bottom of the designer code. As shown below is should look something like this, but I can not insert "this.PerformLayout();", I can but it doesnt save.
*insert code here*
I am not really good with the form designer code, but I am assuming this must be essential because I see it in all the other forms form designer code.