示例#1
0
 private void TimerBegin(object sender, TimesUpEventArgs e)
 {
     NewTimeIsUp?.Invoke(this, e);
 }
示例#2
0
 private void DisplayOvenMessage(object sender, TimesUpEventArgs e)
 {
     Console.WriteLine("Oven received: {0}", e.Message);
 }
 private void DisplayMicrowaveMessage(object sender, TimesUpEventArgs e)
 {
     Console.WriteLine("Microvawe received: {0}", e.Message);
 }