I'm activating the built in ArcGIS measure tool using the following code:
ControlsMapMeasureTool measureTool = new ControlsMapMeasureToolClass();
measureTool.OnCreate(_axMapControl.Object);
// set current tool to be measure tool
_axMapControl.CurrentTool = measureControl as ITool;
// deactivate measure tool
_axMapControl.CurrentTool = null;
Whenever I deactivate the tool the window opened by the tool is not closed. How can I cause it to close?
