// execute view-orders command. Opens orders dialog

        private void ViewOrdersCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            var window = new WindowOrders();

            window.Owner = this;

            window.ShowDialog();

            CommandManager.InvalidateRequerySuggested();
        }
Beispiel #2
0
        // execute view-orders command. Opens orders dialog

        private void ViewOrdersCommand_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            var window = new WindowOrders();
            window.Owner = this;

            window.ShowDialog();

            CommandManager.InvalidateRequerySuggested();
        }