/* * Disposes all forms. (Deletes them) */ public void disposeForms() { if (orderForm != null) { orderForm.Dispose(); } if (adminForm != null) { adminForm.Dispose(); } if (kitchenForm != null) { kitchenForm.Dispose(); } }