/// <summary> /// Opens the wiki window to a specific page from a specific wiki. /// </summary> public static void ShowPage(ModWiki wiki, WikiPage page) { if (wiki == null || page == null) { return; } if (WikiWindow.CurrentActive != null && WikiWindow.CurrentActive.Wiki == wiki) { WikiWindow.CurrentActive.CurrentPage = page; } else { WikiWindow.Open(wiki, page); } }
/// <summary> /// Opens this wiki to whatever page was last opened. /// </summary> public void Show() { WikiWindow.Open(this); }