• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 198
  • Last Modified:

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?
0
jpmc_cmsops
Asked:
jpmc_cmsops
  • 4
  • 2
1 Solution
 
indianguru2Commented:
Are you using any third party controls or user control
0
 
indianguru2Commented:
Are you using any third party controls or user control
0
 
jpmc_cmsopsAuthor Commented:
No
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
indianguru2Commented:
Any Errors you get?
0
 
jpmc_cmsopsAuthor Commented:
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...
0
 
indianguru2Commented:
If you still have the problem
Delete/Rename the Application.myapp file after closing your Project and reopen.
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now