C# 클래스 Intninety.TemporalTextBox

Represents a Windows text box control capable of both undo and redo operations.
상속: System.Windows.Forms.TextBox
파일 보기 프로젝트 열기: rastating/yaircc 1 사용 예제들

공개 메소드들

메소드 설명
ClearStack ( ) : void

Clears both the undo and redo stack.

Redo ( ) : void

Restores the text removed by the last undo operation in the text box.

TemporalTextBox ( ) : System

Initialises a new instance of the TemporalTextBox class.

Transform ( TextBox source ) : void

Transform the text box to be identical to source.

Transform ( TextBox source, bool hideSource ) : void

Transform the text box to be identical to source.

Undo ( ) : void

Undoes the last edit operation in the text box.

비공개 메소드들

메소드 설명
TemporalTextBox_KeyDown ( object sender, KeyEventArgs e ) : void

Occurs when a key is pressed while the control has focus.

TemporalTextBox_TextChanged ( object sender, EventArgs e ) : void

Occurs when content changes in the text box.

메소드 상세

ClearStack() 공개 메소드

Clears both the undo and redo stack.
public ClearStack ( ) : void
리턴 void

Redo() 공개 메소드

Restores the text removed by the last undo operation in the text box.
public Redo ( ) : void
리턴 void

TemporalTextBox() 공개 메소드

Initialises a new instance of the TemporalTextBox class.
public TemporalTextBox ( ) : System
리턴 System

Transform() 공개 메소드

Transform the text box to be identical to source.
public Transform ( TextBox source ) : void
source System.Windows.Forms.TextBox The text box to transform into
리턴 void

Transform() 공개 메소드

Transform the text box to be identical to source.
public Transform ( TextBox source, bool hideSource ) : void
source System.Windows.Forms.TextBox The text box to transform into
hideSource bool Hide the source text box after the transformation is complete
리턴 void

Undo() 공개 메소드

Undoes the last edit operation in the text box.
public Undo ( ) : void
리턴 void