HelpEventArgs

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()}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net