Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, can anyone explain me how to implement custom events or suggest an article regarding that. i have read many articles but i'm not getting proper idea of how to implement it as i'm a newbie.
Thanks in advance.
Posted

Take a look at this article[^] on MSDN. You may also find that a search of the CodeProject articles will find you some useful samples.
 
Share this answer
 
Comments
Tarun.K.S 17-Jul-11 7:33am    
Nice article, bookmarked! 5+
thatraja 17-Jul-11 7:57am    
5!
Sergey Alexandrovich Kryukov 18-Jul-11 3:46am    
My 5.
--SA
Hi,
You can have a look at these articles which were in my Bookmarks list.

1) http://www.blackwasp.co.uk/CSharpEvents.aspx[^]

2) Second part: http://www.blackwasp.co.uk/CSharpEventAccessors.aspx[^]

3) A very detailed article: To learn events, you must also have an idea about delegates. Check it out: http://www.dreamincode.net/forums/topic/220479-delegates-lambdas-and-events/[^]

4) Another best article right here in CodeProject: C# Event Implementation Fundamentals, Best Practices and Conventions[^]

I think this should be enough for you to get a good idea about events.
Good luck and hope this helps. :thumbsup:

Update:

5) One more excellent article, I knew I was missing something! www.akadia.com/services/dotnet_delegates_and_events.html[^]

6) An advanced CodeProject article: www.codeproject.com/KB/cs/WeakEvents.aspx[^]
 
Share this answer
 
v2
Comments
Richard MacCutchan 17-Jul-11 7:19am    
+5; some good links there which will be useful for others (i.e. me), thanks.
Tarun.K.S 17-Jul-11 7:33am    
Thank you Richard! Updated with two more articles!
Uday P.Singh 17-Jul-11 7:27am    
my 5 too!!
Tarun.K.S 17-Jul-11 7:33am    
Thanks Uday!
Espen Harlinn 17-Jul-11 7:37am    
Nice set of links, my 5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900