C# Class Globals.askForName

The ask for name.
Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: troymac1ure/Entity Class Usage Examples

Méthodes publiques

Свойство Type Description
tbNewName System.Windows.Forms.TextBox
tbOldName System.Windows.Forms.TextBox

Méthodes publiques

Méthode Description
askForName ( string titleText, string labelText, string buttonText, string oldTagName, string newTagName, bool smartChange ) : System

Initializes a new instance of the askForName class.

getTextBoxValue ( ) : string

The get text box value.

nameBox_TextChanged ( object sender, EventArgs e ) : void

The name box_ text changed

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

askForName_FormClosing ( object sender, FormClosingEventArgs e ) : void

The ask for name_ form closing.

createButton_Click ( object sender, EventArgs e ) : void

The create button_ click.

nameBox_Leave ( object sender, EventArgs e ) : void

The name box_ leave.

tbNewName_TextChanged ( object sender, EventArgs e ) : void

When the askForMapName dialog text changes

Method Details

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

askForName() public méthode

Initializes a new instance of the askForName class.
public askForName ( string titleText, string labelText, string buttonText, string oldTagName, string newTagName, bool smartChange ) : System
titleText string The text to display on the title bar.
labelText string The text to display on the label.
buttonText string The text to display on the button.
oldTagName string The tag's original name (path included).
newTagName string The new name of the tag (without path)
smartChange bool if set to True, will update the top label as a tag when the bottom label is changed
Résultat System

getTextBoxValue() public méthode

The get text box value.
public getTextBoxValue ( ) : string
Résultat string

nameBox_TextChanged() public méthode

The name box_ text changed
public nameBox_TextChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Property Details

tbNewName public_oe property

public System.Windows.Forms.TextBox tbNewName
Résultat System.Windows.Forms.TextBox

tbOldName public_oe property

public System.Windows.Forms.TextBox tbOldName
Résultat System.Windows.Forms.TextBox