jpmc_cmsops
asked on
How to recover form Desgin???
I am developing an application in C#.
I opened my project and one of my forms is Blank. The name of the form is Main Menu. When I check the MainMenu.cs file, all the code is there. When I check the MainMenu.designer file, all the code is there including the creation and layout of the controls.
However, the form is blank. when I run the program, it comes up blank. Is there any quick way to recover the design without having to re-draw the controls manaully?
I opened my project and one of my forms is Blank. The name of the form is Main Menu. When I check the MainMenu.cs file, all the code is there. When I check the MainMenu.designer file, all the code is there including the creation and layout of the controls.
However, the form is blank. when I run the program, it comes up blank. Is there any quick way to recover the design without having to re-draw the controls manaully?
Are you using any third party controls or user control
Are you using any third party controls or user control
ASKER
No
Any Errors you get?
ASKER
No Errors. But I think i figured it out.... It appears that in the designer, all the code snippits that actaully add the controls to the form were missing.
I re-added that code :this.controls.add (this.mycontrol)
What is weird, is some controls are added to group boxes and split containers and those items were still there, just the controls that were added directly to the form was missing...
I re-added that code :this.controls.add (this.mycontrol)
What is weird, is some controls are added to group boxes and split containers and those items were still there, just the controls that were added directly to the form was missing...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.