在MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)或者其他鼠标事件里面~~e这个参数里有
e.Button==MouseButtons.Left 返回true表示左键按住~~`还有其他参数可以自己看~~

解决方案 »

  1.   

    嗯,和鼠标有关的事件里的args一般都有这个e.Button属性
    msdn上的
    Left        The left mouse button was pressed. 
    Middle      The middle mouse button was pressed. 
    None        No mouse button was pressed. 
    Right       The right mouse button was pressed. 
    XButton1    The first XButton was pressed. 
      With Windows 2000, Microsoft is introducing support for the Microsoft IntelliMouse Explorer, which is a mouse with five buttons. The two new mouse buttons (XBUTTON1 and XBUTTON2) provide backward/forward navigation.
     
    XButton2    The second XButton was pressed. 
      With Windows 2000, Microsoft is introducing support for the Microsoft IntelliMouse Explorer, which is a mouse with five buttons. The two new mouse buttons (XBUTTON1 and XBUTTON2) provide backward/forward navigation.