예제 #1
0
        /// <summary>
        /// Shows a help pop up window
        /// </summary>
        /// <param name="parent">the parent control for the pop up 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 tool window 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;
 }