private void ClearBase(DataClass.Base3 b) { lblBase.ForeColor = Color.Black; lblBear.Text = ""; lblBear180.Text = ""; lblHD.Text = ""; lblED.Text = ""; lblLPB.Text = "no"; b.clear(); }
private void CheckIfBaseExists() { pnlBaseExist.Visible = false; ExistingBase.clear(); if (dmMain.Get_bc3_ByNames(st.Peg, fs.Peg, ExistingBase) > -1) { pnlBaseExist.Visible = true; lblMineEB.Text = ExistingBase.Mine; lblTravEB.Text = ExistingBase.Trav; lblBearEB.Text = CommonStr.ConvertDecToDMS(ExistingBase.sfs.Bear); lblBear180EB.Text = CommonStr.ConvertDecToDMS(ExistingBase.sfs.Bear180()); lblBearErrEB.Text = CommonStr.ConvertDecToDMS(ExistingBase.HAFLErr); lblHDEB.Text = CommonStr.d2s(ExistingBase.sfs.HD); lblEDEB.Text = CommonStr.d2s(ExistingBase.sfs.ED); lblLPEB.Text = CommonStr.LP_Text(ExistingBase.LP); } }