coordinate calculation program

Hi

I want to make a simple coordinate calculation program for windows :

Can move X_Line (Red) and Y_Line (Blue) by left click mouse and show coordinates.

image : (https://1drv.ms/u/s!ArWaESXW5LJOgZU_d-MUd5TOHt8F7w )

But I need help to make coordinates part and functions for this scenario.

Please help me for any part of the program that you can !?!


Thank for your help,
Dear meyson98,

I believe that you want to understand how to implement the solution.
To do that, it will be helpful if you can elaborate what you have tried.

We will certainly be able to help when you have doubt.
:)
Topic archived. No new replies allowed.