C# Class SIL.FieldWorks.Common.Controls.CharacterInfoToolTip

Provides an owner-drawn class that displays Unicode values for a text string and the ICU character name when the text string is a single character.
Inheritance: System.Windows.Forms.ToolTip
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
CharacterInfoToolTip ( ) : System

Initializes a new instance of the CharacterInfoToolTip class.

HandleDraw ( object sender, DrawToolTipEventArgs e ) : void

Handles the draw.

HandlePopup ( object sender, System.Windows.Forms.PopupEventArgs e ) : void

Handles the popup.

Hide ( ) : void

Hides this instance.

Show ( Control ctrl, string chr ) : void

Shows tooltip for the specified control and character.

Show ( Control ctrl, string chr, Font fnt ) : void

Shows tooltip for the specified character at the specified coordinate relative to the grid control specified at construction.

Show ( string chr ) : void

Shows tooltip for the specified character.

Show ( string chr, Font fnt ) : void

Shows tooltip for the specified character at the specified coordinate relative to the grid control specified at construction.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up the title font we created.

Private Methods

Méthode Description
BuildToolTipContent ( string chr ) : void

Builds the content of the tool tip.

Method Details

CharacterInfoToolTip() public méthode

Initializes a new instance of the CharacterInfoToolTip class.
public CharacterInfoToolTip ( ) : System
Résultat System

Dispose() protected méthode

Clean up the title font we created.
protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

HandleDraw() public méthode

Handles the draw.
public HandleDraw ( object sender, DrawToolTipEventArgs e ) : void
sender object
e System.Windows.Forms.DrawToolTipEventArgs
Résultat void

HandlePopup() public méthode

Handles the popup.
public HandlePopup ( object sender, System.Windows.Forms.PopupEventArgs e ) : void
sender object
e System.Windows.Forms.PopupEventArgs
Résultat void

Hide() public méthode

Hides this instance.
public Hide ( ) : void
Résultat void

Show() public méthode

Shows tooltip for the specified control and character.
public Show ( Control ctrl, string chr ) : void
ctrl System.Windows.Forms.Control
chr string
Résultat void

Show() public méthode

Shows tooltip for the specified character at the specified coordinate relative to the grid control specified at construction.
public Show ( Control ctrl, string chr, Font fnt ) : void
ctrl System.Windows.Forms.Control
chr string
fnt System.Drawing.Font
Résultat void

Show() public méthode

Shows tooltip for the specified character.
public Show ( string chr ) : void
chr string
Résultat void

Show() public méthode

Shows tooltip for the specified character at the specified coordinate relative to the grid control specified at construction.
public Show ( string chr, Font fnt ) : void
chr string
fnt System.Drawing.Font
Résultat void