A
Adam J. Rosen
I am writing a forms program with a notify icon in the system tray. I have
event handlers for both OnClick and OnDoubleClick. However, when you double
click on the icon, it fires the OnClick event as well. I tried implementing
this through a OnMouseUp event, and use the MouseEventArgs.Clicks counter,
but that's always set to 0. Can anyone help me treat a click and a
doubleClick as separate events?
Thanks
Adam J. Rosen
event handlers for both OnClick and OnDoubleClick. However, when you double
click on the icon, it fires the OnClick event as well. I tried implementing
this through a OnMouseUp event, and use the MouseEventArgs.Clicks counter,
but that's always set to 0. Can anyone help me treat a click and a
doubleClick as separate events?
Thanks
Adam J. Rosen