實現效果:

知識運用:
API函數 GetDoubleClickTime //判斷連續兩次鼠標單擊之間會被處理成雙擊事件的時間間隔 單位毫秒
實現代碼:
[DllImport("user32.dll", EntryPoint = "GetDoubleClickTime")]
public extern static int GetDoubleClickTime(); //重寫API函數
private void Form1_Load(object sender, EventArgs e)
{
label2.Text = GetDoubleClickTime() + "毫秒"; //顯示間隔秒數
}
