public int button ;

描述

已按下哪个鼠标键。

0 表示鼠标左键,1 表示鼠标右键,2 表示鼠标中键。 在 EventType.MouseDownEventType.MouseUp 事件中使用。

no example available in C#