// timer restart when form is activated private void FormAddItem_Activated(object sender, EventArgs e) { FormLoginMenu.timeToDuel(); FormLoginMenu.timeToReduel(); }
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(); }
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(); }