/// <summary> /// Настройка контрола /// </summary> private void SetPictureCtrlProperties(Size size, dGetBscanPart getBscanPart, StatusStrip statusBar, MarksManagerClass marksMgr, Action zoomCheck, List<string> ascansGps) { this.Size = size; this._status = statusBar; this.hScrollBar1.Value = 0; this.vScrollBar1.Value = 0; this.MarksMgr = marksMgr; this.ZoomCheck = zoomCheck; GetBscanPart = getBscanPart; renderer = new RendererGdi(); renderer.SetMaxPictureSize(pictureBoxMain.Size, _bscanLength, _maxAscanLength); drawingInfo.ReliefCorrectionPoints = new ReliefCorrectionLine(); AscansGps = ascansGps; }