public void Init(Size bound, UnitedMarkerCalibration markerCalibration)
        {
            this.bound = bound;

            this.markerCalibration = markerCalibration;

            mcanvas.Width  = bound.Width;
            mcanvas.Height = bound.Height;
        }
예제 #2
0
        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();
        }