public void loadData(bool chechstat) { LegAddressradDropDownList.SelectedIndex = 0; LegAddressradDropDownList.ShowDropDown(); LegAddressradDropDownList.CloseDropDown(); FiasCheckBox.Checked = chechstat; needSave = false; }
private void LegAddressradDropDownList_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.Up && e.KeyCode != Keys.Down) { Thread myThread = new Thread(legal_addres_rgDropDownList_fias); PingStruct ps = new PingStruct(); ps.addr = this.LegAddressradDropDownList.Text; myThread.Start(ps); LegAddressradDropDownList.ShowDropDown(); } }