Esempio n. 1
0
        /// <summary>Return the Form for displaying the regex quick help (lazy loaded)</summary>
        public static HelpUI CreateRegexHelpUI(Form parent)
        {
            Debug.Assert(parent != null);
            var ui = new HelpUI(parent, HelpUI.EContent.Html, "Regular Expressions Quick Reference", string.Empty, new Point(1, 1), new Size(640, 480), ToolForm.EPin.TopRight);

            ui.Content = Resources.regex_quick_ref;
            ui.RenderContent();
            return(ui);
        }
Esempio n. 2
0
 /// <summary>Show a modal help dialog from plain text, RTF, or html</summary>
 public static DialogResult ShowDialog(Control parent, EContent type, string title, string content, Point?ofs = null, Size?size = null, EPin pin = EPin.TopRight)
 {
     using (var ui = new HelpUI(parent, type, title, content, ofs, size, pin, true))
         return(ui.ShowDialog(parent));
 }