コード例 #1
0
 private void OpenPrintLevelWizard()
 {
     if (printLevelWizardWindow == null)
     {
         printLevelWizardWindow         = new PrintLevelWizardWindow();
         printLevelWizardWindow.Closed += (sender, e) =>
         {
             printLevelWizardWindow = null;
         };
         printLevelWizardWindow.ShowAsSystemWindow();
     }
     else
     {
         printLevelWizardWindow.BringToFront();
     }
 }
コード例 #2
0
 private void OpenPrintLevelWizard()
 {
     if (printLevelWizardWindow == null)
     {
         printLevelWizardWindow = new PrintLevelWizardWindow();
         printLevelWizardWindow.Closed += (sender, e) =>
         {
             printLevelWizardWindow = null;
         };
         printLevelWizardWindow.ShowAsSystemWindow();
     }
     else 
     {
         printLevelWizardWindow.BringToFront();
     }
 }