Reputation: 23
I'm in Visual Studio 2019. I'm following along with an instructional video on creating a simple Windows Forms C# app. I've added some elements like buttons and labels and texts fields from the toolbox, and I've saved. But when I flip over to the C# file, I don't see any code related to these. The video (and other similar videos) seem to show that if the user looks there, they will see the methods already there, reflecting what was done in the GUI. Why would I not see the same thing?
Upvotes: 2
Views: 1065
Reputation: 34
Example Form:
When you double click on button from design click event code generate automatically:
If you go to properties of button then to events: you can see click event with method name
Upvotes: 1