public void Fire() { if(Baz != null) Baz(this, new EventArgs()); } }
Thanks very much, Ed
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
-----Original Message-----> From: Moderated discussion of advanced .NET topics.> [mailto:ADVANCED-DOTNET@DISCUSS.DEVELOP.COM] On Behalf Of Pinto, Ed> Sent: Thursday, October 31, 2002 19:57> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> Subject: [ADVANCED-DOTNET] accessibility of delegates in 1.1>
public class Bar> {> public event EventHandler Baz;>
public void Fire()> {> if(Baz != null)> Baz(this, new EventArgs());> }> }>
Thanks very much,> Ed>
You can read messages from the Advanced DOTNET archive,> unsubscribe from Advanced DOTNET, or> subscribe to other DevelopMentor lists at http://discuss.develop.com.>
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
-----Original Message----- From: Jeroen Frijters [mailto:jeroen@SUMATRA.NL] Sent: Friday, November 01, 2002 2:24 AM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] accessibility of delegates in 1.1
-----Original Message-----> From: Moderated discussion of advanced .NET topics.> [mailto:ADVANCED-DOTNET@DISCUSS.DEVELOP.COM] On Behalf Of Pinto, Ed> Sent: Thursday, October 31, 2002 19:57> To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM> Subject: [ADVANCED-DOTNET] accessibility of delegates in 1.1>
public class Bar> {> public event EventHandler Baz;>
public void Fire()> {> if(Baz != null)> Baz(this, new EventArgs());> }> }>
Thanks very much,> Ed>
You can read messages from the Advanced DOTNET archive, unsubscribe> from Advanced DOTNET, or subscribe to other DevelopMentor lists at> http://discuss.develop.com.>
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .