C# Class WinFormsSample.MultilevelUndoTextboxChangeAction

Inheritance: GuiLabs.Undo.AbstractAction
Afficher le fichier Open project: KirillOsenkov/Undo Class Usage Examples

Méthodes publiques

Méthode Description
MultilevelUndoTextboxChangeAction ( TextBox textbox, string oldText, int oldSelectionStart, int oldSelectionLength ) : System
TryToMerge ( IAction followingAction ) : bool

Méthodes protégées

Méthode Description
ExecuteCore ( ) : void
UnExecuteCore ( ) : void

Private Methods

Méthode Description
SetText ( string text, int selectionStart, int selectionLength ) : void

Method Details

ExecuteCore() protected méthode

protected ExecuteCore ( ) : void
Résultat void

MultilevelUndoTextboxChangeAction() public méthode

public MultilevelUndoTextboxChangeAction ( TextBox textbox, string oldText, int oldSelectionStart, int oldSelectionLength ) : System
textbox System.Windows.Forms.TextBox
oldText string
oldSelectionStart int
oldSelectionLength int
Résultat System

TryToMerge() public méthode

public TryToMerge ( IAction followingAction ) : bool
followingAction IAction
Résultat bool

UnExecuteCore() protected méthode

protected UnExecuteCore ( ) : void
Résultat void