Code Snippet for Events

Posted by: Roland Weigelt, on 20 Nov 2005 | View original

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
The leading UI suite for ASP.NET - Telerik radControls
Outstanding performance. Full ASP.NET AJAX support. Nearly codeless development.

Similar Posts

  • ASP.NET: What is the function of FindControl method? more
  • Coding4Fun V2 Plans - Your Feedback Wanted more
  • Toolkit code is now 100% public more
  • August 9th ASP.NET Link-Listing more
  • Visual WebGui 1.0 (build 5.81.3.73.0e) available with first version of DataGridView and lots more more
  • melting Groove & Visual Studio 2005: Visendo Code Share more
  • How To Properly Group Partial Class Files in Visual Studio 2005 more
  • Sharepoint 2007: List Events Practical Example: Creating a rigged survey!! more
  • Implementing 3D Tic-Tac-Toe game in Visual Basic more
  • Sending Email in ASP.NET 2.0 more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | 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