VB.NET events button
-
C# has an events button in the properties window, but VB.NET doesn't. WTF? How do you get to choose the event of a eg: command button? Cheers, Simon X-5 452 rules.
In the code editor, there are two drop downs at the top of the window. In the left one, pick the object (or overrides, interface, base events etc.) that you want, and then in the right one, pick the event/method. Or, for events, just start typeing: Private Sub DoSomething(sender as object, e as EventArgs) Handles as soon as you press the space bar after Handles, IntelliSense will pop up a list of objects, and away you go. -- David Wengier Sonork ID: 100.14177 - Ch00k
-
In the code editor, there are two drop downs at the top of the window. In the left one, pick the object (or overrides, interface, base events etc.) that you want, and then in the right one, pick the event/method. Or, for events, just start typeing: Private Sub DoSomething(sender as object, e as EventArgs) Handles as soon as you press the space bar after Handles, IntelliSense will pop up a list of objects, and away you go. -- David Wengier Sonork ID: 100.14177 - Ch00k