Пример #1
0
 // stop timer on form change
 private void FormAddItem_FormClosing(object sender, FormClosingEventArgs e)
 {
     FormLoginMenu.timeToNotDuel();
 }
Пример #2
0
 private void FormPayment_FormClosing(object sender, FormClosingEventArgs e)
 {
     // stop timer on form change
     FormLoginMenu.timeToNotDuel();
 }
Пример #3
0
 private void FormOrderPage_FormClosing(object sender, FormClosingEventArgs e)
 {
     // stops the timer on form change
     FormLoginMenu.timeToNotDuel();
 }
 private void FormTableLayoutDineIn_FormClosing(object sender, FormClosingEventArgs e)
 {
     // stop the timer on form change
     FormLoginMenu.timeToNotDuel();
 }
 // stop the timer when the form closes
 private void FormFrontPage_FormClosing(object sender, FormClosingEventArgs e)
 {
     FormLoginMenu.timeToNotDuel();
 }
 // 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();
 }