protected virtual void CenterOnCoordinates()
        {
            // Show form...
            CenterOnCoordinatesForm form = new CenterOnCoordinatesForm();

            if (form.ShowDialog() == DialogResult.OK)
            {
                CenterOnCoordinates(form.Coordinates);
            }
        }
Beispiel #2
0
        protected virtual void CenterOnCoordinates()
        {
            //show form...
            CenterOnCoordinatesForm form = new CenterOnCoordinatesForm();

            if (form.ShowDialog() == DialogResult.OK)
            {
                //center view
                renderer2d.PositionView(form.Coordinates.x, form.Coordinates.y);
                General.Interface.RedrawDisplay();
            }
        }