1 Attachment(s)
How to get a list of all events for Form (or other Form objects) in C#?
In Visual Basic.NET, when you double click on the Form, it will by default take you to Form_Load, but there is also a drop down box that gives you a list of all events avaible for FORM.
But it's not the case with Visual C#. When I click on the drop down list, it just shows a list of all event functions that already exist in my project.
How do I do this in Visual C#?
Re: How to get a list of all events for Form (or other Form objects) in C#?
Open up the properties for, example, a button. Then click the lightning bolt at the top... it will list the available methods for that object.
http://i.imgur.com/ztWLj.jpg
You can then either double click the entry to create the method or specify which method you want to associate.