[]
This class represents the a command in GanttView.
public abstract class BaseCommand
Implements this class to support undo/redo for you custom action.
Name | Description |
---|---|
BaseCommand(C1GanttView) | Initializes a new instance of BaseCommand class belong to a C1GanttView object. |
Name | Description |
---|---|
IsFirstTime | Is frist time to excute the command or not. |
Name | Description |
---|---|
View | Gets the C1GanttView object, that's command owner. |
Name | Description |
---|---|
AddCommandToUndoStack() | Add command to the undo stack for undo operation. |
Do() | Executes the command without events. |
Execute() | Executes the command. |
Undo() | Unexecutes the command without events. |
Unexecute() | Unexecutes the command. |