private void OnActiveToolChanged(ArcGIS.Desktop.Framework.Events.ToolEventArgs args) { string currentActiveToolName = args.CurrentID; if (currentActiveToolName != VisibilityMapTool.ToolId) { lastActiveToolName = currentActiveToolName; } }
private void OnActiveToolChanged(ArcGIS.Desktop.Framework.Events.ToolEventArgs args) { if (args.CurrentID == "ProSymbolEditor_DrawFeatureSketchTool") { //Toggle all down AddToMapToolEnabled = true; } else { //Disable all toggles AddToMapToolEnabled = false; } }
private void OnActiveToolChanged(ArcGIS.Desktop.Framework.Events.ToolEventArgs args) { string prevTool = args.PreviousID; string newTool = args.CurrentID; }