private void Alta_colaboradores_Load(object sender, EventArgs e)
        {
            txtnumemp.Focus();
            txtnumemp.Select();
            this.AcceptButton = btnguardar;

            this.combogenero.DataSource    = obDatos.consultar2("cat_generos");
            this.combogenero.ValueMember   = "Id_Genero";
            this.combogenero.DisplayMember = "Nombre";

            //this.combostatus.DataSource = obDatos.consultar2("cat_status");
            //this.combostatus.ValueMember = "Id_Status";
            //this.combostatus.DisplayMember = "Nombre";

            //this.combobaja.DataSource = obDatos.consultar2("cat_causabaja");
            //this.combobaja.ValueMember = "Id_Causa_Baja";
            //this.combobaja.DisplayMember = "Nombre";
        }
 private void Alta_Curso_Externo_Load(object sender, EventArgs e)
 {
     this.combobanco.DataSource    = obDatos.consultar2("cat_bancos");
     this.combobanco.ValueMember   = "Id_Banco";
     this.combobanco.DisplayMember = "Nombre";
 }