Results 1 to 2 of 2

Thread: How to get a list of all events for Form (or other Form objects) in C#?

  1. #1

    Thread Starter
    Hyperactive Member capsulecorpjx's Avatar
    Join Date
    May 2005
    Location
    Renton, WA
    Posts
    288

    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#?
    Attached Images Attached Images  
    "I like to run on treadmills, because at least I know I'm getting nowhere."
    - Me

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    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.



    You can then either double click the entry to create the method or specify which method you want to associate.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width