示例#1
0
 private void MenuOpenInputEditor(object sender, RoutedEventArgs e)
 {
     if (inputEditorWindow == null)
     {
         inputEditorWindow         = new TASInputEditor();
         inputEditorWindow.Closed += InputEditorWindow_Closed;
         inputEditorWindow.Show();
     }
     else
     {
         FocusWindow(inputEditorWindow);
     }
 }
示例#2
0
 private void InputEditorWindow_Closed(object sender, EventArgs e)
 {
     inputEditorWindow = null;
 }