Windows Develop Bookmark and Share   
 index > Windows Forms Designer > All controls vanished !!! (VERY URGENT)
 

All controls vanished !!! (VERY URGENT)

Hi,

I am in a big soup ...

My C# code threw an exception and all my controls have vanished from the design view.  Their declarations are still existing in the C# code.

Please tell me how to get back my controls in the design view - there were many of them and it will be a pain to recreate them again !

Awaiting a reply,
This is VERY URGENT !

Thanks,
-Apurva.
MigrationUser 1  Sunday, April 25, 2004 5:31 PM
Hello,
Most probably there is a problem with assembly versions of the controls (by the way are we talking about custom controls??). I had the same problem with my UI. If some other assembly in your project is dependant on the UI and the reference in the main form is to older version than the other one dependant on the UI then that exception is thrown.
The solution is to keep up-to-date all your references.

Regards,
Gogou
MigrationUser 1  Wednesday, April 28, 2004 5:45 AM

You can use google to search for other answers

Custom Search

More Threads

• Form Inheritance and Inheritance Picker problem
• Forms Designer Troubles
• VS2008 IExtenderProvider Properties
• The designer could not be shown for this file because none of the classes within it can be designed
• How to make an application containg WinForms designer ?
• Setting Toolbox tab programtically for a component in VS2005
• ImageList in VB.NET - Require VB6 Equivalent
• Propery to open form
• DataGridView Design Time Support
• Adding controls on the fly