CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2005
    Posts
    31

    How To Know if EventHandler is empty ?

    Hi, I am new to Window Form Application.
    I have a costum control class with eventhandler NewClick;
    declaration :
    event EventHandler^ NewClick;
    how do I know if there is no Method in NewClick or How Many method stored in NewClick ?

  2. #2
    Join Date
    Apr 2005
    Location
    Norway
    Posts
    3,934

    Re: How To Know if EventHandler is empty ?

    Maybe the Delegate.GetInvocationList method can give you the answer.

    - petter

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

Featured