In c# projects I often add several menu items or buttons to a form then I switch the property panel to Events then start double clicking in the proper event handler method "box" to add the default event handler method name to each of the items.
The problem is Visual Studio always switches to the code window when new event handlers are added!
Many controls have 2 or events that typically get added such as ListView ColumnClick and SelectedItemChanged.
I have to continuously switch back to the Forms designer which is sometimes difficult because I often have more forms and code windows open to see of all filenames and have to fish out the current form I am working on.
I’ve searched the world wide web over looking for this option to no avail. I would not be surprised at all if someone labels my post as potential duplicate because this annoying behavior has pestered me for years!
2
Answers
As jmcilhinney said, you can use shitf+f7 (Right click -> View Designer )to switch from the code view to the design view in the editor.
Here’s what it should look like for you, whether you’re double clicking things to insert the default event, or using the grid to pick other events: