private void TimerBegin(object sender, TimesUpEventArgs e) { NewTimeIsUp?.Invoke(this, e); }
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); }