المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Cross to follow mouse



C# Programming
09-17-2009, 01:16 AM
I have created a control which follows the mouse using MousePosition

However i would actually like the mouse value produced by the control to start at 0 at the top and left sides of my control and finish at 1000. at the bottom and the right sides of the control.

Does anyone know how i can do this?

Thanx in advance