public void SwitchTo1DMode()
        {
            mcanvas.Children.Clear();

            m1EditorList.Clear();
            m2EditorList.Clear();

            marker1dEditor meditor = new marker1dEditor();

            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration.UnitedMarker1, bound, bottomChanged);

            mcanvas.Children.Add(meditor);
            m1EditorList.Add(meditor);

            meditor             = new marker1dEditor();
            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration.UnitedMarker2, bound, bottomChanged);

            mcanvas.Children.Add(meditor);
            m1EditorList.Add(meditor);
        }
        public void SwitchTo1DMode() {
            mcanvas.Children.Clear();
            
            m1EditorList.Clear(); 
            m2EditorList.Clear();

            marker1dEditor meditor = new marker1dEditor();
            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration.UnitedMarker1, bound, bottomChanged);

            mcanvas.Children.Add(meditor);
            m1EditorList.Add(meditor);

            meditor = new marker1dEditor();
            meditor.ScaleFactor = ScaleFactor;
            meditor.Init(markerCalibration.UnitedMarker2, bound, bottomChanged);

            mcanvas.Children.Add(meditor);
            m1EditorList.Add(meditor);
        }