public void ShowModKit() { if (FormModKit == null || FormModKit.IsDisposed) { FormModKit = new frmWcc(); FormModKit.Show(dockPanel, DockState.Document); } FormModKit.Activate(); }
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; }