DekGenius.com
[ Team LiB ] Previous Section Next Section

HelpEventArgs

System.Windows.Forms (system.windows.forms.dll)class

This class encapsulates the event arguments for the Control.HelpRequested event. It includes a Handled property, which you should set to true if you do handle the event, or the framework will pass the event on for further processing.

You can also retrieve the current MousePos if you need to use this to resolve the help item.

You can display help using the Help class, or use the HelpProvider component to provide automated help support.

public class HelpEventArgs : EventArgs {
// Public Constructors
   public HelpEventArgs(System.Drawing.Point mousePos);
// Public Instance Properties
   public bool Handled{set; get; }
   public Point MousePos{get; }
}

Hierarchy

System.Object System.EventArgs HelpEventArgs

Passed To

Control.OnHelpRequested(), HelpEventHandler.{BeginInvoke(), Invoke()}

    [ Team LiB ] Previous Section Next Section