Beispiel #1
0
 public override void Execute(object parameter)
 {
     OpenListDialog dlg = new OpenListDialog();
     dlg.Owner = MainWindow.Instance;
     if (dlg.ShowDialog() == true)
         MainWindow.Instance.ShowAssemblyList(dlg.SelectedListName);
 }
        public override async void Execute(object parameter)
        {
            OpenListDialog dlg = new OpenListDialog();

            if (await dlg.ShowDialog <bool>(MainWindow.Instance) == true)
            {
                MainWindow.Instance.ShowAssemblyList(dlg.SelectedListName);
            }
        }
Beispiel #3
0
        public override void Execute(object parameter)
        {
            OpenListDialog dlg = new OpenListDialog();

            dlg.Owner = MainWindow.Instance;
            if (dlg.ShowDialog() == true)
            {
                MainWindow.Instance.ShowAssemblyList(dlg.SelectedListName);
            }
        }