Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Commands/MapChangeCoordinateSystemCommand.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Commands/MapChangeCoordinateSystemCommand.cs (.../MapChangeCoordinateSystemCommand.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis.Gui/Commands/MapChangeCoordinateSystemCommand.cs (.../MapChangeCoordinateSystemCommand.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -9,6 +9,15 @@ { public class MapChangeCoordinateSystemCommand : MapViewCommand { + public override bool Checked + { + get + { + return false; + } + set {} + } + protected override void OnExecute(params object[] arguments) { var activeView = SharpMapGisGuiPlugin.GetFocusedMapView(); @@ -26,18 +35,12 @@ catch (CoordinateTransformException e) { MessageBox.Show("Cannot convert map to selected coordinate system: " + e.Message, - "Map coordinate system", MessageBoxButtons.OK, MessageBoxIcon.Error); + "Map coordinate system", MessageBoxButtons.OK, MessageBoxIcon.Error); base.OnExecute(arguments); } } base.OnExecute(arguments); } - - public override bool Checked - { - get { return false; } - set { } - } } } \ No newline at end of file