protected virtual void OnTimeIsUp(TimeIsUpEventArgs e) { EventHandler<TimeIsUpEventArgs> temp = TimeIsUp; if (temp != null) temp(this, e); }
private void PersonMsg(Object sender, TimeIsUpEventArgs e) { Console.WriteLine(e.Message); }