Example #1
0
 public void ShowModExplorer()
 {
     if (ModExplorer == null || ModExplorer.IsDisposed)
     {
         GetModExplorer();
         ModExplorer.Show(dockPanel, DockState.DockLeft);
     }
     ModExplorer.Activate();
 }
Example #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;
 }