hi to all community.
I wanted some help please. the code in question is not working right in the axmap it disappears from the screen, I want the utm coordinate to appear when moving the mouse, converted into execution time of the mouse movement on the side of the pointer, please help me.
private void label1_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
IsMouseDown = true;
label1.BringToFront();
Entities.Point.startPoint = e.Location;
thisLabelCanMove = true;
}
}
private void label1_MouseMove(object sender, MouseEventArgs e)
{
double X;
double Y;
{
label1.Location = new System.Drawing.Point(Cursor.Position.X, Cursor.Position.Y);
label1.Text = MousePosition.ToString();
}
}
private void label1_MouseUp(object sender, MouseEventArgs e)
{
IsMouseDown = false;
label1.Text += mouseMove;
}
}
}