Is there a shortcut to add an event method for a control? If I have a button, I want to add the Click method without having to type it out or switch to design view.
EDIT: Seriously! When i did this in VB I had a drop down list of all the controls and their events. Is that so hard to do for C#?
Winforms? Webforms? What?
One option is to (after initialization) hook the event your self – intellisense supplies the event name, and [Tab][Tab] creates the method stub – i.e.
and it does the rest… likewise in web-forms at the appropriate place.
This gives you: