Exemplo n.º 1
0
 public void loadData(bool chechstat)
 {
     LegAddressradDropDownList.SelectedIndex = 0;
     LegAddressradDropDownList.ShowDropDown();
     LegAddressradDropDownList.CloseDropDown();
     FiasCheckBox.Checked = chechstat;
     needSave             = false;
 }
Exemplo n.º 2
0
 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();
     }
 }