private void btnTimer_Click(object sender, RoutedEventArgs e) { statusEnum = Status.Timer; showTime(new Time.Time(DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second)); MainWindow.OperateMessage(Message.SetTimer); }
private void btnOverTime_Click(object sender, RoutedEventArgs e) { statusEnum = Status.OverTime; showTime(Data.OverTimer.GetTime()); MainWindow.OperateMessage(Message.SetOvertime); }
private void btnHourMeter_Click(object sender, RoutedEventArgs e) { statusEnum = Status.HourMeter; showTime(Data.HourMeter.GetTime()); MainWindow.OperateMessage(Message.SetHourMeter); }
private void btnCompetition_Click(object sender, RoutedEventArgs e) { btnCompetition.IsEnabled = false; btnOrdinary.IsEnabled = true; MainWindow.ShowPage(MainWindow.CompetitionPage); }