示例#1
0
 /*
  * Disposes all forms. (Deletes them)
  */
 public void disposeForms()
 {
     if (orderForm != null)
     {
         orderForm.Dispose();
     }
     //if (loginForm != null) { loginForm.Dispose(); }
     if (adminForm != null)
     {
         adminForm.Dispose();
     }
 }
示例#2
0
 /*
  * Disposes all forms. (Deletes them)
  */
 public void disposeForms()
 {
    if (orderForm != null) { orderForm.Dispose(); }
    if (adminForm != null) { adminForm.Dispose(); }
    if (kitchenForm != null) { kitchenForm.Dispose();  }
 }