예제 #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();
 }
 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();
 }
 // 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();
 }