示例#1
0
        /// <summary>
        /// Shows a help popup window
        /// </summary>
        /// <param name="parent">the parent control for the popup window</param>
        /// <param name="text">help text</param>
        /// <param name="location">display location</param>
        void IHelpViewer.ShowPopup(Control parent, string text, Point location)
        {
            // Display a native toolwindow and display the help string
            HelpToolTipWindow hlpTTip = new HelpToolTipWindow();

            hlpTTip.Location        = location;
            hlpTTip.Text            = text;
            hlpTTip.ShowShadow      = true;
            hlpTTip.MaximumDuration = 300;             // duration before hiding (after focus lost)

            hlpTTip.Show();
        }
示例#2
0
 /// <summary>
 /// Standard constructor
 /// </summary>
 public HelpToolTipWindow()
 {
     current = this;
 }