摘要:
public void HitTest ( int X, int Y, ref esriTOCControlItem ItemType, ref IBasicMap BasicMap, ref ILayer Layer, ref object Unk, ref object Data );各参数的含义如下:X,Y :鼠标点击的坐标;ITemType: esriTOCControlItem枚举常量BasicMap:绑定MapControl的IBasicMap接口Layer:被点击的图层Unk:TOCControl的LegendGroup对象Data:LegendClass在LegendGroup 阅读全文