/*Precondition: Postcondition: Open up orders form with current order loaded up */ private void btnGoToOrder_Click(object sender, EventArgs e) { OrdersForm of = new OrdersForm(null); of.loadOrder(currOrder.orderID); of.Show(); }
/*Precondition: Postcondition: Moves to orders form*/ private void btnOrders_Click(object sender, EventArgs e) { this.Hide(); OrdersForm of = new OrdersForm(this); of.Show(); }