Capture Middle Click

Feb 16, 2012 at 1:43 AM

Is there a way to capture the middle click mouse event ?

Feb 16, 2012 at 5:21 PM

private void OnAnyMouseClickingEvent( object sender, MouseEventArgs e )
{
   if ( e.Button == MouseButtons.Middle )
   {
       //do stuff
   }
}