title: How can I differentiate between single and double clicks in .Net?
body: <p>I want to override OnMouseClick and OnMouseDoubleClick and perform different actions depending on which click style was used.</p>
  
  <p>The problem is that OnMouseClick is happening for both single and double clicks, and is getting called before OnMouseDoubleClick.</p>
  
  <p>I'm certain this must be a common requirement, so I guess I'm missing something pretty obvious. Can someone fill me in?</p>
  
  <p>Edit to add: the MouseEventArgs.Clicks count doesn't help. In the case of a double-click, the first click is handled as a single click in OnMouseClick with MouseEventArgs.Clicks == 1.</p>
  
  <p>Edit to add: the objects are image thumbnails. Single click should toggle selection on and off for export. Double click should make the thumbnail full screen. The selection and "activation" actions are orthogonal. This may indicate an underlying problem with the two actions...</p>
  
  <p>Cheers,
  Rob </p>