Click here to Skip to main content
15,891,423 members
Articles / Desktop Programming / Windows Forms

Implementing an event which supports only a single event handler, in C#

Rate me:
Please Sign up or sign in to vote.
3.74/5 (6 votes)
30 Nov 20052 min read 62.3K   759   18  
This article demonstrates how to implement an event, for which at a given point of time only one client can subscribe to. If multiple clients subscribe to the same event (of the same object), only the client subscribing last will get the event notification.

Views

Daily Counts

Downloads

Weekly Counts

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
India India
I have been working in software industry for the past 5 years now. Enjoy working on complex and new technologies. Worked on Microsoft technologies Like VC++, COM, XML, SQL. Currently working on .Net, C#.

Comments and Discussions