コード例 #1
0
 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);
 }
コード例 #2
0
 private void btnOverTime_Click(object sender, RoutedEventArgs e)
 {
     statusEnum = Status.OverTime;
     showTime(Data.OverTimer.GetTime());
     MainWindow.OperateMessage(Message.SetOvertime);
 }
コード例 #3
0
 private void btnHourMeter_Click(object sender, RoutedEventArgs e)
 {
     statusEnum = Status.HourMeter;
     showTime(Data.HourMeter.GetTime());
     MainWindow.OperateMessage(Message.SetHourMeter);
 }
コード例 #4
0
 private void btnCompetition_Click(object sender, RoutedEventArgs e)
 {
     btnCompetition.IsEnabled = false;
     btnOrdinary.IsEnabled = true;
     MainWindow.ShowPage(MainWindow.CompetitionPage);
 }