C# Class WinFormsSample.MultilevelUndoTextboxChangeAction

Inheritance: GuiLabs.Undo.AbstractAction
Mostrar archivo Open project: KirillOsenkov/Undo Class Usage Examples

Public Methods

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

Protected Methods

Method Description
ExecuteCore ( ) : void
UnExecuteCore ( ) : void

Private Methods

Method Description
SetText ( string text, int selectionStart, int selectionLength ) : void

Method Details

ExecuteCore() protected method

protected ExecuteCore ( ) : void
return void

MultilevelUndoTextboxChangeAction() public method

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

TryToMerge() public method

public TryToMerge ( IAction followingAction ) : bool
followingAction IAction
return bool

UnExecuteCore() protected method

protected UnExecuteCore ( ) : void
return void