AutoWikiBrowser.MainForm.NewWhatLinksHere C# (CSharp) Метод

NewWhatLinksHere() приватный Метод

private NewWhatLinksHere ( string title ) : void
title string
Результат void
        private void NewWhatLinksHere(string title)
        {
            try
            {
                if (EditBoxTab.SelectedTab == tpLinks && title != null)
                {
                    title = HttpUtility.UrlEncode(title);
                    if (webBrowserLinks.Url !=
                        new Uri(Variables.URLIndex + "?title=Special:WhatLinksHere/" + title +
                                "&printable=yes") && !string.IsNullOrEmpty(title))
                        webBrowserLinks.Navigate(Variables.URLIndex + "?title=Special:WhatLinksHere/" +
                                                 title + "&printable=yes");
                }
                else
                    webBrowserLinks.Navigate("about:blank");
            }
            catch
            {
                webBrowserLinks.Navigate("about:blank");

                if (webBrowserLinks.Document != null)
                    webBrowserLinks.Document.Write("<html><body><p>Unable to load What Links Here</p></body></html>");
            }
        }
MainForm