protected virtual void CenterOnCoordinates() { // Show form... CenterOnCoordinatesForm form = new CenterOnCoordinatesForm(); if (form.ShowDialog() == DialogResult.OK) { CenterOnCoordinates(form.Coordinates); } }
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(); } }