So,
While I was working on a project I accidentally closed down my Form1.cs[Designer]
window and I haven't been able to find how to open it again.

I am using Microsoft Visual C# Express Edition. I have looked around in the program and
haven't been able to find a way to open it again. It says that there is supposed to be
an option on the context menu for it, but there isn't.


A Google search didn't reveal anything that helped me.

Thanks for your help,

- WolfShield

If u did not delete it.. it will be there in the solution explorer.... select the form + sign and it will show a code and designer files....


Thanks
vince

abelLazem showed you on the picture where to look for Designer class of the Form.
If you havent delete the whole form class, it shoud be there.

That is the designer class.
But what I am trying to find is the drag and drop GUI designer.

Sorry, I should have clarified.

- WolfShield

I don't see a small button.
One more thing I was stupid enough not to mention: I am using MSVC# 2010.

Really sorry about the lack of info guys! Just one of those days.

- WolfShield

The image attached is of VS2010.... Which button are you talking about can you please attach image of the interface in which you are working ?

Edited 5 Years Ago by abelLazm: n/a

The designer class will not just disappear unless u have deleted it..... or there must a designer class crash.... it can happen if there is too many anamolies in the form.... pls see in the solution explorer for the form name u have given.... if it is not there then it is deleted....

Thanks

I must have deleted it.
When I open another project, it has the option.

How would I add the option back again?

And, here is a screen shot of me right clicking the Form1 which is supposed to give
me the 'View Designer' option.

Thank you guys so much for you help so far!

- WolfShield

Attachments ScreenHunter_02_May._06_08_.18_.gif 11.52 KB

Form1.Designer.Cs is there look in the image this is the designer just below the cursor dbl click it

Edited 5 Years Ago by abelLazm: n/a

Yeah,
Double clicking it gives me picture #1, and right clicking it gives me picture #2.

Attachments ScreenHunter_11_May._08_18_.34_.jpg 45.68 KB ScreenHunter_12_May._08_18_.35_.gif 7.59 KB

Yeah,
Double clicking it gives me picture #1, and right clicking it gives me picture #2.

picture 1 is designer..... what else you are looking for ?

It is right there ... what else are u looking for... i have no idea....

If u double click on Form1.cs it will show the design form i.e the graphical interface which u can modify as u need...

Form1.designer.cs is of no use for now... and the other

Right click on Form1 and select view code or double click on Form1 u will get the coding part...

Thanks
vince

to view the designer, make sure your aspx page is not in the App_code folder.

Edited 4 Years Ago by theurbanphoenix

1) He's talking about Winforms so there is no aspx page at all
2) This is over a year old, he's probably figured it out by now.

This article has been dead for over six months. Start a new discussion instead.