Beispiel #1
0
 public ZoomCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, float xFactor, float yFactor)
 {
     this.control   = control;
     this.viewModel = viewModel;
     this.xFactor   = xFactor;
     this.yFactor   = yFactor;
 }
 public SetBothTangentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, KeyTangentMode tangentMode)
 {
     _control          = control;
     _viewModel        = viewModel;
     _tangentMode      = tangentMode;
     CanExecuteChanged = delegate { };
 }
Beispiel #3
0
            public ZoomExtentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, bool selectionOnly)
            {
                this.control       = control;
                this.viewModel     = viewModel;
                this.selectionOnly = selectionOnly;

                control.SelectionChanged += new EventHandler(control_SelectionChanged);
            }
 public ZoomCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, float xFactor, float yFactor)
 {
     _control          = control;
     _viewModel        = viewModel;
     _xFactor          = xFactor;
     _yFactor          = yFactor;
     CanExecuteChanged = delegate { };
 }
            public ZoomExtentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, bool selectionOnly)
            {
                _control       = control;
                _viewModel     = viewModel;
                _selectionOnly = selectionOnly;

                control.SelectionChanged += control_SelectionChanged;
            }
            public ZoomExtentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, bool selectionOnly)
            {
                _control = control;
                _viewModel = viewModel;
                _selectionOnly = selectionOnly;

                control.SelectionChanged += control_SelectionChanged;
            }
 public ZoomCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, float xFactor, float yFactor)
 {
     _control = control;
     _viewModel = viewModel;
     _xFactor = xFactor;
     _yFactor = yFactor;
     CanExecuteChanged = delegate { };
 }
 public SetBothTangentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, KeyTangentMode tangentMode)
 {
     _control = control;
     _viewModel = viewModel;
     _tangentMode = tangentMode;
     CanExecuteChanged = delegate { };
 }
Beispiel #9
0
 public SetBothTangentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, KeyTangentMode tangentMode)
 {
     this.control     = control;
     this.viewModel   = viewModel;
     this.tangentMode = tangentMode;
 }