C# Class Bloom.ToPalaso.BetterToolTip

Inheritance: System.Windows.Forms.ToolTip
Afficher le fichier Open project: BloomBooks/BloomDesktop

Méthodes publiques

Méthode Description
ApplyLocalizationToString ( object control, string id, string localization ) : void

L10NSharp will call this for each localized string so that the component can set the correct value in the control.

BetterToolTip ( IContainer container ) : System
GetAllLocalizingInfoObjects ( L10NSharpExtender extender ) : IEnumerable

Allows the BetterToolTip to give L10NSharp the information it needs to put strings into the localization UI to be localized.

SetSizeOfToolTipWhenDisabled ( Control control, Size value ) : void
SetToolTip ( Control control, string value ) : void
SetToolTipWhenDisabled ( Control control, string value ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
EnhancedToolTip_Popup ( object sender, System.Windows.Forms.PopupEventArgs e ) : void
GetSizeOfToolTipWhenDisabled ( Control control ) : Size
GetToolTipWhenDisabled ( Control control ) : string
PutOnBetterTooltipTransparentOverlay ( Control control ) : void
TakeOffBetterTooltipTransparentOverlay ( Control control ) : void
UpdateAllControlsList ( Control control, string value ) : void
control_EnabledChanged ( object sender, EventArgs e ) : void
control_Paint ( object sender, PaintEventArgs e ) : void

Method Details

ApplyLocalizationToString() public méthode

L10NSharp will call this for each localized string so that the component can set the correct value in the control.
public ApplyLocalizationToString ( object control, string id, string localization ) : void
control object The control that was returned via the LocalizingInfo in /// GetAllLocalizingInfoObjects(). Will be null if that value was null.
id string a key into the ILocalizableComponent allowing it to know what /// string to localize
localization string the actual localized string
Résultat void

BetterToolTip() public méthode

public BetterToolTip ( IContainer container ) : System
container IContainer
Résultat System

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetAllLocalizingInfoObjects() public méthode

Allows the BetterToolTip to give L10NSharp the information it needs to put strings into the localization UI to be localized.
public GetAllLocalizingInfoObjects ( L10NSharpExtender extender ) : IEnumerable
extender L10NSharpExtender
Résultat IEnumerable

SetSizeOfToolTipWhenDisabled() public méthode

public SetSizeOfToolTipWhenDisabled ( Control control, Size value ) : void
control System.Windows.Forms.Control
value System.Drawing.Size
Résultat void

SetToolTip() public méthode

public SetToolTip ( Control control, string value ) : void
control System.Windows.Forms.Control
value string
Résultat void

SetToolTipWhenDisabled() public méthode

public SetToolTipWhenDisabled ( Control control, string value ) : void
control System.Windows.Forms.Control
value string
Résultat void