Ejemplo n.º 1
0
 private void checkMotorista_CheckedChanged(object sender, EventArgs e)
 {
     if (checkMotorista.Checked)
     {
         Motoristas = MotoristaService.ListarSemEmpresa().ToList();
         AtualizarComboMotoristas();
     }
     else
     {
         Motoristas = MotoristaService.Listar().ToList();
         AtualizarComboMotoristas();
     }
 }
Ejemplo n.º 2
0
 private void Frm_Ativar_Load(object sender, EventArgs e)
 {
     listaDemotoristas = MotoristaService.Listar().ToList();
     AtualizarComboBox();
 }