protected virtual void OnTheEnding(TimerEventArgs e) { EventHandler <TimerEventArgs> temp = Time; if (temp != null) { temp(this, e); } }
protected virtual void OnTheEnding(TimerEventArgs e) { EventHandler<TimerEventArgs> temp = Time; if(temp!=null) { temp(this, e); } }
private void StudentMessage(Object sender, TimerEventArgs e) { Console.WriteLine($"{e.Message} Deadline! NOOOOOOO!"); }
private void Ringing(Object sender, TimerEventArgs e) { Console.WriteLine($"{e.Message} Ring Ring Ring!"); }
private void Ringing(Object sender,TimerEventArgs e) { Console.WriteLine($"{e.Message} Ring Ring Ring!"); }
private void StudentMessage(Object sender,TimerEventArgs e) { Console.WriteLine($"{e.Message} Deadline! NOOOOOOO!"); }