예제 #1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            this.Hide();
            CheckoutOverviewOrderUI coUI = new CheckoutOverviewOrderUI(order, orderHomeUI);

            coUI.ShowDialog();
        }
예제 #2
0
        private void GoBackToOverview()
        {
            //go back to order overview
            this.Hide();
            CheckoutOverviewOrderUI coUI = new CheckoutOverviewOrderUI(order, orderHomeUI);

            coUI.ShowDialog();
        }
예제 #3
0
 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.");
     }
 }