public AddingContrastCommand(float contrast, VideoEditor videoEditor, CommandHistory commandHistory) : base(videoEditor, commandHistory) { _contrast = contrast; _previousContrast = videoEditor.Contrast; }
protected AbstractUndoableCommand(VideoEditor videoEditor, CommandHistory history) { VideoEditor = videoEditor; History = history; }
public AddingLabelCommand(string text, VideoEditor videoEditor, CommandHistory commandHistory) : base(videoEditor, commandHistory) { _text = text; _previousLabel = VideoEditor.Text; }