C# Class ComponentFactory.Krypton.Toolkit.ToolTipManager

Manages when tooltips are displayed in response to provided messages.
Afficher le fichier Open project: ComponentFactory/Krypton Class Usage Examples

Méthodes publiques

Méthode Description
DoubleClick ( ViewBase targetElement, Point pt ) : void

Left mouse button double click.

MouseDown ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void

Mouse button has been pressed in the view.

MouseEnter ( ViewBase targetElement, Control c ) : void

Mouse has entered the view.

MouseLeave ( ViewBase targetElement, Control c, ViewBase next ) : void

Mouse has left the view.

MouseMove ( ViewBase targetElement, Control c, Point pt ) : void

Mouse has moved inside the view.

MouseUp ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void

Mouse button has been released in the view.

ToolTipManager ( ) : System

Initialize a new instance of the TooltipManager class.

Méthodes protégées

Méthode Description
OnCancelToolTip ( ) : void

Raises the CancelTooltip event.

OnShowToolTip ( ToolTipEventArgs e ) : void

Raises the ShowTooltip event.

Private Methods

Méthode Description
OnStartTimerTick ( object sender, EventArgs e ) : void
OnStopTimerTick ( object sender, EventArgs e ) : void

Method Details

DoubleClick() public méthode

Left mouse button double click.
public DoubleClick ( ViewBase targetElement, Point pt ) : void
targetElement ViewBase Target element for the mouse message.
pt Point Mouse position relative to control.
Résultat void

MouseDown() public méthode

Mouse button has been pressed in the view.
public MouseDown ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
button MouseButtons Mouse button pressed down.
Résultat void

MouseEnter() public méthode

Mouse has entered the view.
public MouseEnter ( ViewBase targetElement, Control c ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
Résultat void

MouseLeave() public méthode

Mouse has left the view.
public MouseLeave ( ViewBase targetElement, Control c, ViewBase next ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
next ViewBase Reference to view that is next to have the mouse.
Résultat void

MouseMove() public méthode

Mouse has moved inside the view.
public MouseMove ( ViewBase targetElement, Control c, Point pt ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
Résultat void

MouseUp() public méthode

Mouse button has been released in the view.
public MouseUp ( ViewBase targetElement, Control c, Point pt, MouseButtons button ) : void
targetElement ViewBase Target element for the mouse message.
c System.Windows.Forms.Control Reference to the source control instance.
pt Point Mouse position relative to control.
button MouseButtons Mouse button released.
Résultat void

OnCancelToolTip() protected méthode

Raises the CancelTooltip event.
protected OnCancelToolTip ( ) : void
Résultat void

OnShowToolTip() protected méthode

Raises the ShowTooltip event.
protected OnShowToolTip ( ToolTipEventArgs e ) : void
e ToolTipEventArgs A TooltipEventArgs that contains the event data.
Résultat void

ToolTipManager() public méthode

Initialize a new instance of the TooltipManager class.
public ToolTipManager ( ) : System
Résultat System