B
benben
I have a form that overrides the OnClick method. The caller sends in an
EventArgs parameter but how can I extract the mouse coordinates from the
EventArgs???? I tried explicit convertion to MouseEventArgs but an
InvalidCastException is thrown.
I know the original OnClick method raises the Click event so it must be able
to somehow extract more information from the EventArg. Does anyone know how
it is achieved?
ben
EventArgs parameter but how can I extract the mouse coordinates from the
EventArgs???? I tried explicit convertion to MouseEventArgs but an
InvalidCastException is thrown.
I know the original OnClick method raises the Click event so it must be able
to somehow extract more information from the EventArg. Does anyone know how
it is achieved?
ben