private void timer1_Tick(object sender, EventArgs e)
{
pt = Control.MousePosition;//pt是事先定义的point
label1.Text = pt.X.ToString() + "," + pt.Y.ToString();
label2.Text = Control.MouseButtons == MouseButtons.Left ? "Click" : "No Click";
label3.Text = Control.MouseButtons == MouseButtons.Middle ? "Click" : "No Click";
label4.Text = Control.MouseButtons == MouseButtons.Right ? "Click" : "No Click";
}