/// <summary> /// Prompts the user to type in some text (up to a maximum length). Returns true if they supplied some text or false if they didn't or it was blank/cancelled etc /// </summary> /// <param name="header"></param> /// <param name="prompt"></param> /// <param name="maxLength"></param> /// <param name="initialText"></param> /// <param name="text"></param> /// <param name="requireSaneHeaderText"></param> /// <returns></returns> protected bool TypeText(string header, string prompt, int maxLength, string initialText, out string text, bool requireSaneHeaderText = false) { return(Activator.TypeText(header, prompt, maxLength, initialText, out text, requireSaneHeaderText)); }