// Sends user back to the AddOrder form. private void btnBack_Click(object sender, EventArgs e) { this.Hide(); frmAddOrder frmAddOrder = new frmAddOrder(admin, this.orderDetails); frmAddOrder.Show(); }
// Takes the user to the add order form. private void button4_Click(object sender, EventArgs e) { this.Hide(); frmAddOrder frmAddOrder = new frmAddOrder(admin, new List <OrderDetail>()); frmAddOrder.Show(); }