how to get position data in c# form