For Programmers: Free Programming Magazines  


Home > Archive > C# > May 2005 > Re: For a static event, should sender be null?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: For a static event, should sender be null?
Michael C

2005-05-19, 8:56 am

"news-server.san.rr.com" <scottseansmith2@NO-SPAM.hotmail.com> wrote in
message news:t_Vie.16149$887.10001@tornado.socal.rr.com...
> Is there a typical practice here? Is passing 'null' for sender OK in this
> situation?


Makes sense to me. It fits that the sender is null because there is no
instance sending the event.

Michael


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com