Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
After double click In Solution Explorer on Form1.cs open Windows form.
Now ic changeg icon to code like class and opec Form1 code
How to back on double click to open form?

What I have tried:

FORM MISING after double clik C#
Posted
Updated 8-Jul-22 3:59am
Comments
Richard MacCutchan 8-Jul-22 8:48am    
Your question is not clear, please review what you have written.
Goran Bibic 8-Jul-22 9:33am    
In visual studio, add form. All ok. When doblue click on SOlution expoler opne Form1 and I add controls to form. Something changes now, when double click on Form1 open code. I can't open Form design. What I do?
Richard MacCutchan 8-Jul-22 9:59am    
Try right click and select View Designer (Shift + F7).
Goran Bibic 8-Jul-22 9:34am    
Can I here post picture?
Goran Bibic 8-Jul-22 10:56am    
Please just watch picture

Left pic is wrong, right is ok

https://www.c-sharpcorner.com/forums/i-press-something-and-change-formcs-to-classcs

Please

1 solution

Without access to your system - which we don't have - there isn;t a lot we can do to help.
Especially when "it works for me here"!

But ... the only way I can "open code" by double clicking is to double click on the form itself, or to double click on the MyForm.Designer.cs file in the Solution explorer pane - double clicking on the form in the designer will take to to the code by design as it adds and edits a Load event for the form. Double clicking the Designer.cs file in the solution explorer pane takes to to code, yes - but in the file used by VS to display the form in the designer rather than where you add or modify code.

If that isn't what's happening, try shutting down VS and reopening the solution - that may help fix it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900