I'm using some of the code from the VS2010 MapSuite 4 Desktop samples, related to drawing shapes and then editing them. So this sample code works to get in a mode the edit the shapes...but how do I get out of that mode when editing is complete?
Case "btnTrackEdit"
winformsMap1.TrackOverlay.TrackMode =
winformsMap1.EditOverlay.EditShapesLayer.InternalFeatures.Add(feature)
TrackMode.NoneFor Each feature As Feature In winformsMap1.TrackOverlay.TrackShapeLayer.InternalFeaturesNext
winformsMap1.EditOverlay.CalculateAllControlPoints()
winformsMap1.TrackOverlay.TrackShapeLayer.InternalFeatures.Clear()
winformsMap1.Refresh(
New Overlay() {winformsMap1.EditOverlay, winformsMap1.TrackOverlay})Exit Select