C# Class KFreonLib.GUI.TextUpdater

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

Public Methods

Method 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 method

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

TextUpdater() public method

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.
return System

UpdateText() public method

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