The map control application crashes when the vertex of Callout is moved using ControlSelectToolClass when the tool is created without passing in a ToolbarControl.
上次发布: August 25, 2014ArcGIS Engine
漏洞 ID 编号
NIM058243
已提交
June 11, 2010
上次修改时间
June 5, 2024
适用范围
ArcGIS Engine
找到的版本
9.3.1
编程语言
VB.Net
操作系统
Windows OS
操作系统版本
2003
修正版本
10.1
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
If a toolbar control is added to the application, it may not have any items but does require to be buddied with the map control. Then change the code to hook to the toolbar control. ICommand cmd = new ESRI.ArcGIS.Controls.ControlsSelectTool(); cmd.OnCreate(axToolbarControl1.Object); axMapControl1.CurrentTool = (ITool)cmd;