Пример #1
0
        private void btnOrder_Click_1(object sender, RoutedEventArgs e)
        {
            Shopping myshopping = new Shopping(loggedInPerson);

            this.Close();
            myshopping.ShowDialog();
        }
Пример #2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            MessagBoxInfo.Show($"Thank {loggedInUser.Voornaam + " " + loggedInUser.Achternaam} for watching the application", MessagBoxInfo.CmessageBoxTitle.Info);
            Shopping myshopping = new Shopping(loggedInUser);

            this.Close();
            myshopping.ShowDialog();
        }