Link to home
Start Free TrialLog in
Avatar of saar900
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_MouseDownEventHandler(this.test1);

void test1(object sender,AxMapWinGIS._DMapEvents_MouseDownEvent a) {...}

does anyone has an idea why test1 method doesn't invoke when
i press on component surface ?
Avatar of ptmcomp
ptmcomp
Flag of Switzerland image

Does it work in VB6?
Avatar of saar900
saar900

ASKER

yes it does
ASKER CERTIFIED SOLUTION
Avatar of ptmcomp
ptmcomp
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial