コード例 #1
0
 public ZoomCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, float xFactor, float yFactor)
 {
     this.control   = control;
     this.viewModel = viewModel;
     this.xFactor   = xFactor;
     this.yFactor   = yFactor;
 }
コード例 #2
0
 public SetBothTangentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, KeyTangentMode tangentMode)
 {
     _control          = control;
     _viewModel        = viewModel;
     _tangentMode      = tangentMode;
     CanExecuteChanged = delegate { };
 }
コード例 #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);
            }
コード例 #4
0
 public ZoomCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, float xFactor, float yFactor)
 {
     _control          = control;
     _viewModel        = viewModel;
     _xFactor          = xFactor;
     _yFactor          = yFactor;
     CanExecuteChanged = delegate { };
 }
コード例 #5
0
            public ZoomExtentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, bool selectionOnly)
            {
                _control       = control;
                _viewModel     = viewModel;
                _selectionOnly = selectionOnly;

                control.SelectionChanged += control_SelectionChanged;
            }
コード例 #6
0
            public ZoomExtentsCommand(CurveEditorControl2 control, CurveEditorControlsViewModel viewModel, bool selectionOnly)
            {
                _control = control;
                _viewModel = viewModel;
                _selectionOnly = selectionOnly;

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