Esempio n. 1
0
        private void Sel_Region_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.Sel_Region.Tag = JWdata.JWv[this.Sel_Province.SelectedIndex][this.Sel_Region.SelectedIndex + 1].Substring(0, 4);
            JWdata.JWdecode((string)this.Sel_Region.Tag);
            string strJ = LunarHelper.rad2str2(JWdata.J);

            this.Cal_zdzb.Text = "经度(向西为正) " + strJ +
                                 " 纬度 " + LunarHelper.rad2str2(JWdata.W);
            this.txtLongitude.Text = strJ;
            this.showMessD(-2);
        }
Esempio n. 2
0
 private void label11_Click(object sender, EventArgs e)
 {
     JWdata.JWdecode("P3Tg昆明");
     MessageBox.Show("经: " + LunarHelper.rad2str2(JWdata.J) + "\r纬: " + LunarHelper.rad2str2(JWdata.W), "返回结果:");
 }