Adding the Mouse Move Event
Shows the X and Y positions when the mouse moves on the form
Adding the Mouse Move Event
Shows the X and Y positions when the mouse moves on the form
Text of video
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
lblInfo.Text = e.X.ToString() + "," + e.Y.ToString();
}