예제 #1
0
        private void btMenu_Click(object sender, RoutedEventArgs e)
        {
            MenuWindow menuWindow = new MenuWindow();

            menuWindow.ShowDialog();
            menuWindow.Activate();
        }
예제 #2
0
        private void btNewOrder_Click(object sender, RoutedEventArgs e)
        {
            MenuWindow newOrderWindow = new MenuWindow(true);

            newOrderWindow.ShowDialog();
            newOrderWindow.Activate();
            if (newOrderWindow.DialogResult == true)
            {
                MessageBox.Show("Zamówienie trafiło do realizacji");
            }
        }