public static TabBrowserPage GetBrowserPage(string title, string url) { string key = title + "BROWSER"; TabPage page = null; if (!Instance._alPagesStore.TryGetValue(key, out page)) { page = new TabBrowserPage(title, url); Instance._alPagesStore.Add(key, page); } else { ((TabBrowserPage)page).Url = url; } return (TabBrowserPage)page; }
public static TabBrowserPage GetBrowserPage(string title, string url) { string key = title + "BROWSER"; TabPage page = null; if (!Instance._alPagesStore.TryGetValue(key, out page)) { page = new TabBrowserPage(title, url); Instance._alPagesStore.Add(key, page); } else { ((TabBrowserPage)page).Url = url; } return((TabBrowserPage)page); }