获取鼠标双击时间间隔
using System.Runtime.InteropServices; [DllImport("user32.dll", EntryPoint = "GetDoubleClickTime")] public extern static int GetDoubleClickTime(); private void button1_Click(object sender, EventArgs e) { MessageBox.Show(GetDoubleClickTime() + "毫秒"); }
浙公网安备 33010602011771号