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...

Advertisement
Category: Events | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1255 | Hits: 171

Similar Posts

  • Important releases from Microsoft you may have missed more
  • How to: Validate data with SL/WPF RadGridView Part I validating on property/cell level via Data Annotations more
  • New Entity Framework Feature CTP for VS2010 Beta 2 more
  • Why not Classic (Legacy) ASP? more
  • No JavaScript IntelliSense in VS 2010 Beta 2? Reset your Settings more
  • DevReach Follow-up, Part I more
  • ClientIDMode in ASP.NET 4.0 more
  • SW Florida Code Camp 2009 wrap-up more
  • Searching and Navigating Code in VS 2010 (VS 2010 and .NET 4.0 Series) more
  • Form and List 05.00.03 released more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD