Creating universal ArcGIS 'Current tool' property?

المشرف العام

Administrator
طاقم الإدارة
I have a base tool class which handles 90% of my custom logic, but some tools need to set themselves as the current tool. The operations between ArcGIS Engine's IToolbarControl and ArcGIS Desktop's IApplication interface are different.

With ArcGIS Desktop, I need to have a reference to ESRI.ArcGIS.Framework, which is unavailable in a pure ArcEngine deployment.

Is there any way to set the Current Tool property without needing a reference to ESRI.ArcGIS.Framework?

As a side note: Any way of getting the ArcGIS Desktop's window handle without resorting to the Win32 API?



أكثر...
 
أعلى