Exemplo n.º 1
0
 void Page3ButtonsViewModel_paymentPressed(object sender, EventArgs e)
 {
     if (paymentWindow != null)
     {
         return;
     }
     paymentWindow         = new PaymentWindow();
     paymentWindow.Closed += paymentWindow_Closed;
     paymentWindow.Show();
 }
Exemplo n.º 2
0
        private void btn_payment_Click(object sender, RoutedEventArgs e)
        {
            PaymentWindow paymentWindow = new PaymentWindow();

            paymentWindow.Show();
        }
        /// <summary>
        /// Closes the active window and regenerates/open the Payment Window of the connected student
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void PaymentButton_Click(object sender, EventArgs e)
        {
            PaymentWindow paymentWindow = new PaymentWindow(connection, student, status);

            paymentWindow.Show();
        }