Exemplo n.º 1
0
 public frmImagePreview ShowImagePreview()
 {
     if (ImagePreview == null || ImagePreview.IsDisposed)
     {
         ImagePreview = new frmImagePreview();
         ImagePreview.Show(dockPanel, DockState.Document);
     }
     ImagePreview.Activate();
     return(ImagePreview);
 }
Exemplo n.º 2
0
 public void CloseMainWindows()
 {
     ModExplorer?.Close();
     ModExplorer = null;
     Output?.Close();
     Output = null;
     Console?.Close();
     Console = null;
     if (Welcome != null)
     {
         Welcome?.Close();
         Welcome = new frmWelcome(Window);
     }
     ImportUtility?.Close();
     ImportUtility = null;
     RadishUtility?.Close();
     RadishUtility = null;
     ScriptPreview?.Close();
     ScriptPreview = null;
     ImagePreview?.Close();
     ImagePreview = null;
     FormModKit?.Close();
     FormModKit = null;
 }