public static void Show(string hash = null) { string url = GuideUrl + (string.IsNullOrEmpty(hash) ? string.Empty : "#" + hash); FormGuide guide = FormManager.TryFind <FormGuide>(); if (guide == null) { FormBrowser owner = FormManager.TryFind <FormBrowser>(); if (owner != null) { new FormGuide(url, owner).Show(owner); } } else { guide.Reload(url); guide.Activate(); } }
public static void Show(string hash = null) { string url = GuideUrl + (hash ?? string.Empty); FormGuide guide = FormManager.TryFind <FormGuide>(); if (guide == null) { FormBrowser owner = FormManager.TryFind <FormBrowser>(); if (owner != null) { owner.AnalyticsFile.OpenGuide.Trigger(); new FormGuide(url, owner).Show(owner); } } else { guide.Reload(url); guide.Activate(); } }