예제 #1
0
 private void OpenPluginChooserWindow()
 {
     if (pluginChooserWindow == null)
     {
         pluginChooserWindow         = new PluginChooserWindow();
         pluginChooserWindow.Closed += (sender, e) =>
         {
             pluginChooserWindow = null;
         };
         pluginChooserWindow.ShowAsSystemWindow();
     }
     else
     {
         pluginChooserWindow.BringToFront();
     }
 }
예제 #2
0
 private void OpenPluginChooserWindow()
 {
     if (pluginChooserWindow == null)
     {
         pluginChooserWindow = new PluginChooserWindow();
         pluginChooserWindow.Closed += (sender, e) =>
         {
             pluginChooserWindow = null;
         };
         pluginChooserWindow.ShowAsSystemWindow();
     }
     else
     {
         pluginChooserWindow.BringToFront();
     }
 }