public ScalingSelectionPresenter(IScalingSelectionView view, IScalingState state, IRefreshControlView rootControlView, IScaleService scaleService, Color movingPenColor, Color zoomInPenColor, Color zoomOutPenColor) { if (view == null || state == null) { throw new InvalidArgumentException("parameter \"view\" or \"state\" is null"); } this.view = view; this.state = state; this.rootControlView = rootControlView; this.scaleService = scaleService; this.state.MovingPenColor = movingPenColor; this.state.ZoomInPenColor = zoomInPenColor; this.state.ZoomOutPenColor = zoomOutPenColor; }
public ScalingSelectionPresenter(IScalingSelectionView view, IScalingState state, IRefreshControlView rootControlView, IScaleService scaleService) : this(view, state, rootControlView, scaleService, Color.FromArgb(200, Color.DarkViolet), Color.FromArgb(223, 63, 63, 191), Color.FromArgb(223, 63, 191, 63)) { }