I've written several GUI programs using Visual C# and Visual Studio 2015. I downloaded Visual Studio 2022 just out of curiosity and I loaded one of my projects and I could not find in Solution Explorer the file that held the code that I wrote for the project. I can click on everything in Solution Explorer and still not see the code I wrote for the project.
What I had to do was click on Form1.cs to bring up the Form I was working with, and then I had to double-click the Run button that I made and placed on the Form. When I double-clicked the Run button then I was brought to the code window where I entered the code for the program.
I don't understand why I had to do that.
Shouldn't I have been able to choose the code source file in Solution Explorer on the right side and get right to the code window where I typed in my code? I don't get it. Why the code is kinda hidden.
What I had to do was click on Form1.cs to bring up the Form I was working with, and then I had to double-click the Run button that I made and placed on the Form. When I double-clicked the Run button then I was brought to the code window where I entered the code for the program.
I don't understand why I had to do that.
Shouldn't I have been able to choose the code source file in Solution Explorer on the right side and get right to the code window where I typed in my code? I don't get it. Why the code is kinda hidden.