namespace Microsoft.Win32 { //MK定义 public static partial class NativeMethods { /// /// none keys were down. /// public const int MK_NONE = 0x0000; /// /// The left mouse button is down. /// public const int MK_LBUTTON = 0x0001; /// /// The right mouse button is down. /// public const int MK_RBUTTON = 0x0002; /// /// The SHIFT key is down. /// public const int MK_SHIFT = 0x0004; /// /// The CTRL key is down. /// public const int MK_CONTROL = 0x0008; /// /// The middle mouse button is down. /// public const int MK_MBUTTON = 0x0010; /// /// The first X button is down. /// public const int MK_XBUTTON1 = 0x0020; /// /// The second X button is down. /// public const int MK_XBUTTON2 = 0x0040; } }