コード例 #1
0
 // timer restart when form is activated
 private void FormAddItem_Activated(object sender, EventArgs e)
 {
     FormLoginMenu.timeToDuel();
     FormLoginMenu.timeToReduel();
 }
コード例 #2
0
 private void FormPayment_Activated(object sender, EventArgs e)
 {
     // start the timer when form loads
     convertToCash();
     FormLoginMenu.timeToReduel();
 }
コード例 #3
0
 private void FormTableLayoutDineIn_Activated(object sender, EventArgs e)
 {
     // start the timer when form loads
     FormLoginMenu.timeToReduel();
 }
コード例 #4
0
 private void FormOrderPage_Activated(object sender, EventArgs e)
 {
     // start the timer when form loads
     FormLoginMenu.timeToReduel();
 }
コード例 #5
0
 // restarts the timer when the page is shown
 private void FormFrontPage_Activated(object sender, EventArgs e)
 {
     // timer reset on form show
     FormLoginMenu.timeToNotDuel();
     FormLoginMenu.timeToReduel();
 }