Get x and y axes
Hi , i am student. I wanna knw how we get x and y axes as mouse pointe moves
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hiren SoniPosted Nov 29, 2009, 8:27 AM
Kirtan PatelPosted Nov 29, 2009, 8:46 AM
if my answer helps you then check "do you like this answer" check box :)
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
label1.Text = e.X.ToString();
label2.Text = e.Y.ToString();
}