---
title: "Event Handling in CSharp .NET"  
description: "Here I am going to show how to handle events.  Timer tick event//adding tick event to timer  tm.Tick += newEventHandler(tm_Tick);3       //code for ti"  
author: "Anonymous User"  
published: 2010-07-17  
updated: 2020-03-04  
canonical: https://www.mindstick.com/articles/60/event-handling-in-csharp-dot-net  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Event Handling in CSharp .NET

Here I am going to show how to [handle events](https://www.mindstick.com/forum/157865/how-does-knockoutjs-handle-events-and-event-binding).\

##### Timer tick event

```
//adding tick event to timertm.Tick += new EventHandler(tm_Tick);3     //code for timer tick event.private void tm_Tick(object sender, EventArgs e)        {            this.BackColor = Color.Blue;            tm.Enabled= false;        } 
```

---

Original Source: https://www.mindstick.com/articles/60/event-handling-in-csharp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
