Hi,
i wont something simple.. i dont want to load the drawing toolbar on my OCX... but i wont to use a button instead on my form. It's ok if the underling logic remain the same.. same event and so on... simply.. i wont that a user press my button it's like he pressed the draw circle button on the toolbar.
I use this handler for th event:
private void axMappointControl1_SelectionChange(object sender, AxMapPoint._IMappointCtrlEvents_SelectionChangeEve nt e)
{
object o = e.pNewSelection;
MapPoint.Shape s = (MapPoint.Shape)e.pNewSelection;
if (s.AutoShapeType == MapPoint.GeoAutoShapeType.geoShapeRadius)
{}
}
is it possible???
regards..
Gianmaria