saar900
asked on
catching com object events in c#
hi all
I'm using a com object through c# and I'm having trouble
catching the component's events.
the initialization code
this.axMap2.MouseDownEvent += new AxMapWinGIS._DMapEvents_Mo useDownEve ntHandler( this.test1 );
void test1(object sender,AxMapWinGIS._DMapEv ents_Mouse DownEvent a) {...}
does anyone has an idea why test1 method doesn't invoke when
i press on component surface ?
I'm using a com object through c# and I'm having trouble
catching the component's events.
the initialization code
this.axMap2.MouseDownEvent
void test1(object sender,AxMapWinGIS._DMapEv
does anyone has an idea why test1 method doesn't invoke when
i press on component surface ?
Does it work in VB6?
ASKER
yes it does
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.