private void btnBack_Click(object sender, EventArgs e) { this.Hide(); CheckoutOverviewOrderUI coUI = new CheckoutOverviewOrderUI(order, orderHomeUI); coUI.ShowDialog(); }
private void GoBackToOverview() { //go back to order overview this.Hide(); CheckoutOverviewOrderUI coUI = new CheckoutOverviewOrderUI(order, orderHomeUI); coUI.ShowDialog(); }
private void btn_Checkout_Click(object sender, EventArgs e) { try { this.Hide(); order = orderLogic.GetTableOrder(table); CheckoutOverviewOrderUI checkoutOverview = new CheckoutOverviewOrderUI(this.order, this); checkoutOverview.ShowDialog(); } catch { MessageBox.Show("Probleem met het laden van de database. Probeer opnieuw."); } }