C# Class KFreonLib.GUI.TextUpdater

Provides threadsafe methods to update text of a ToolStripItem's Text property.
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Méthode Description
TextUpdater ( Control givenControl ) : System

Constructor using a Control like a TextBox. Unused for now.

TextUpdater ( ToolStripItem givenControl, ToolStrip givenStrip ) : System

Constructor for given ToolStripItem.

UpdateText ( string text ) : void

Updates text of targeted text property.

Method Details

TextUpdater() public méthode

Constructor using a Control like a TextBox. Unused for now.
public TextUpdater ( Control givenControl ) : System
givenControl System.Windows.Forms.Control Control to alter.
Résultat System

TextUpdater() public méthode

Constructor for given ToolStripItem.
public TextUpdater ( ToolStripItem givenControl, ToolStrip givenStrip ) : System
givenControl System.Windows.Forms.ToolStripItem Control to monitor.
givenStrip System.Windows.Forms.ToolStrip Base strip to correctly invoke with.
Résultat System

UpdateText() public méthode

Updates text of targeted text property.
public UpdateText ( string text ) : void
text string New text to display.
Résultat void