//On Form Mouse Move Event
private void Form1_MouseMove(object sender, MouseEventArgs e) { //It Will Display Mouse X & Y Coordinates in Label... lblXYMouseCoordinates.Text = " X-Coordinate : " + e.X + " Y -Coordinate : " + e.Y; }
|
Loading
//On Form Mouse Move Event
private void Form1_MouseMove(object sender, MouseEventArgs e) { //It Will Display Mouse X & Y Coordinates in Label... lblXYMouseCoordinates.Text = " X-Coordinate : " + e.X + " Y -Coordinate : " + e.Y; }
|
Join the conversation! Your thoughts help the community grow.