summaryrefslogtreecommitdiff
path: root/reference/csharp/core/src/core_event.cs
diff options
context:
space:
mode:
Diffstat (limited to 'reference/csharp/core/src/core_event.cs')
-rw-r--r--reference/csharp/core/src/core_event.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/reference/csharp/core/src/core_event.cs b/reference/csharp/core/src/core_event.cs
index b0caac8..7906f41 100644
--- a/reference/csharp/core/src/core_event.cs
+++ b/reference/csharp/core/src/core_event.cs
@@ -35,7 +35,7 @@ public class Example
35 timer.SetName("Timer"); 35 timer.SetName("Timer");
36 // To count number of timer triggers 36 // To count number of timer triggers
37 int tick_count = 0; 37 int tick_count = 0;
38 timer.TickEvt += (object sender, EventArgs e) => { 38 timer.TimerTickEvt += (object sender, EventArgs e) => {
39 string message = "Tick {0} from {1}: "; 39 string message = "Tick {0} from {1}: ";
40 // Depending on the number of timer ticks, it does a different thing 40 // Depending on the number of timer ticks, it does a different thing
41 switch (tick_count) { 41 switch (tick_count) {