DefaultStatusText() static private method

static private DefaultStatusText ( ) : void
return void
        // Get the redirects from Wikipedia:
        /// <summary>
        /// Load the redirects for a template from Wikipedia
        /// </summary>
        /// <param name="Target">Template name</param>
        protected static List <WikiFunctions.Article> GetRedirects(string Target)
        {
            string message = "Loading redirects for Template:" + Target;

            PluginManager.StatusText.Text = message;
            Application.DoEvents();
            // the statusbar text wasn't updating without this; if happens elsewhere may need to write a small subroutine

            try {
                return(rlp.MakeList(Namespace.Template, new [] { Variables.Namespaces[Namespace.Template] + Target }));
            } finally {
                PluginManager.DefaultStatusText();
            }
        }