Code Snippet for Events
Posted by: Roland Weigelt,
on 20 Nov 2005 |
View original | Bookmarked: 0 time(s)
Name: Event Description: Code snippet for an event and the corresponding On... method Shortcut: event Result: public event EventHandler<EventArgs> EventRaised; protected virtual void OnEventRaised( EventArgs e ){ if (this.EventRaised != null) this.EventRaised( this, e );} Download: Event.snippet...