Please be aware of the difference between uppercase and lowercase first.A=E.X--->A=(float)e.X;
B=E.Y--->B=(float)e.Y;