Exemplo n.º 1
0
 private void LoadDictionary()
 {
     if (((rbBraun.Checked) || (rbGematek.Checked)) && !chbEmployeeIn1C.Checked)
     {
         DriverList driverList = DriverList.getInstance();
         cbFio.DataSource    = driverList.ToDataTableNotDriver(rbBraun.Checked ? 1 : 2);
         cbFio.DisplayMember = "ФИО";
         cbFio.ValueMember   = "id";
     }
     else
     {
         cbFio.DataSource = null;
     }
 }