Exemple #1
0
        void OnMouseMapPositionChanged(object sender, MapPointEventArgs e)
        {
            if (_viewer.CoordinateSystem == null)
                return;

            if (_statBar != null)
                _statBar.SetCursorPositionMessage(string.Format("X: {0:0.0000000}, Y: {1:0.0000000} ({2})", e.X, e.Y, _viewer.CoordinateSystem.Units)); //NOXLATE
        }
Exemple #2
0
        void OnMouseMapPositionChanged(object sender, MapPointEventArgs e)
        {
            if (_viewer.CoordinateSystem == null)
            {
                return;
            }

            if (_statBar != null)
            {
                _statBar.SetCursorPositionMessage(string.Format("X: {0:0.0000000}, Y: {1:0.0000000} ({2})", e.X, e.Y, _viewer.CoordinateSystem.Units)); //NOXLATE
            }
        }