Hello, dear Programmers!
Prompt - how to get the coordinates (of picture box) of the point which was clicked (by mouse))?
Thank you for your answer)
Hello, dear Programmers!
Prompt - how to get the coordinates (of picture box) of the point which was clicked (by mouse))?
Thank you for your answer)
Jump to PostHandle mouseClick event.
private void pictureBox1_MouseClick(object sender, MouseEventArgs e) { int x=e.X; int y=e.Y; }
Handle mouseClick event.
private void pictureBox1_MouseClick(object sender, MouseEventArgs e)
{
int x=e.X;
int y=e.Y;
}
thank you,adatapost )))
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.