コード例 #1
0
 public void RunInstance(Instance instance)
 {
     var success = instance.Run();
     if (success && App.Settings.CloseOnConnect)
         Application.Current.Shutdown();
 }
コード例 #2
0
 public void FreezeSelection()
 {
     _previousSelection = MainWindow.instance.listBox.SelectedItem as Instance;
     _refreshHandle = InstanceCollectionView.DeferRefresh();
 }