TpTrayUtility.Components.ShapeBoxControl.Distance C# (CSharp) Метод

Distance() приватный статический Метод

private static Distance ( PointF p, PointF c ) : double
p System.Drawing.PointF
c System.Drawing.PointF
Результат double
		private static double Distance(PointF p, PointF c)
		{
			return Math.Sqrt((p.X - c.X)*(p.X - c.X) + (p.Y - c.Y)*(p.Y - c.Y));
		}