/// <summary> /// Closes all the "file documents", resets modexplorer and clears the output. /// </summary> private void ResetWindows() { if (ActiveMod != null) { foreach (var t in OpenDocuments) { t.Close(); break; } } ModExplorer?.Close(); ModExplorer = null; ShowModExplorer(); ShowOutput(); ClearOutput(); }