Point p1 = new Point(100, 100); Point p2 = new Point(150, 50); double radians = Math.Atan2(p2.Y - p1.Y, p2.X - p1.X);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)