C# 클래스 Globals.askForName

The ask for name.
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: troymac1ure/Entity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
tbNewName System.Windows.Forms.TextBox
tbOldName System.Windows.Forms.TextBox

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
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

메소드 상세

Dispose() 보호된 메소드

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

askForName() 공개 메소드

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
리턴 System

getTextBoxValue() 공개 메소드

The get text box value.
public getTextBoxValue ( ) : string
리턴 string

nameBox_TextChanged() 공개 메소드

The name box_ text changed
public nameBox_TextChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

tbNewName 공개적으로 프로퍼티

public System.Windows.Forms.TextBox tbNewName
리턴 System.Windows.Forms.TextBox

tbOldName 공개적으로 프로퍼티

public System.Windows.Forms.TextBox tbOldName
리턴 System.Windows.Forms.TextBox