예제 #1
0
 // Close Window
 private void CloseWindow(object sender, EventArgs e)
 {
     if (Countdown.TimeTickSegment == SegmentNames.EndBreak)
     {
         Countdown.EndLapPackage();
         Close();
     }
 }
예제 #2
0
 // yes and okay button
 private void YesOkayBtn(object sender, EventArgs e)
 {
     if (btnYesOkay.Text == "Yes")
     {
         Countdown.StartLap();
     }
     else if (btnYesOkay.Text == "Okay")
     {
         Countdown.EndLapPackage();
     }
     Close();
 }