コード例 #1
0
ファイル: CallLookupPanel.cs プロジェクト: W6OP/Call-Lookup
        /// <summary>
        /// Get the heading from one grid to another.
        /// </summary>
        /// <param name="destination"></param>
        /// <returns></returns>
        private string GetHeading(string destination)
        {
            string homeLocation = settings.Grid;
            double azimuth      = MaidenheadLocator.Azimuth(homeLocation.ToUpper(), destination.ToUpper());

            return(string.Format("{0:0.##}", azimuth));
        }