public void Init(Size bound, UnitedMarkerCalibration markerCalibration) { this.bound = bound; this.markerCalibration = markerCalibration; mcanvas.Width = bound.Width; mcanvas.Height = bound.Height; }
public void Init(UnitedMarkerCalibration uniCalibration, UnitedMarker unitedMarker, Size boundRect, Action bottomChanged, Action <int, bool> ScaleInfo) { this.bottomChanged = bottomChanged; this.ScaleInfo = ScaleInfo; uniMarker = unitedMarker; this.uniCalibration = uniCalibration; bountRct = boundRect; numtext.Text = uniMarker.ID.ToString(); CheckAndCorrect(uniMarker); Display(); }