Reputation: 91
I am working on a project in Visual Studio. I had two (design) forms open along with the code for each form. But I accidentally closed one of the design forms and I dont know how to get it back and I hadn't saved it yet. Is there a way to recover the design form?
Upvotes: 1
Views: 8116
Reputation: 1030
menu -> VIEW -> Solution Explorer there are all your files. Double click on the file you want to edit. Maybe keep solution explorer opened.
Upvotes: 1
Reputation: 7097
I'd recommend keeping the Solution Explorer open so you can see all the files within your project(s). You can then right click on a file within the Solution Explorer that represents a form and then select either 'View Design' or 'View Code' to open up either the Form Designer for that file, or your code behind.
Upvotes: 3