Results 1 to 13 of 13

Thread: [RESOLVED] What am I missing in my Custom Event?

Threaded View

  1. #13
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: [RESOLVED] What am I missing in my Custom Event?

    Code:
    EventHandler<TEventArgs> is public
    something gotta be public to use the event, when you create an event the compiler actually create two more private methods in the background that do the work of hiding and protecting the delegate (instance).

    anyhow I might wasn't so clear since my english is not the best but i'm glad you got me.
    Last edited by motil; Feb 3rd, 2011 at 04:33 AM.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

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