示例#1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     dgvEmpleado.DataSource   = Empleado.obtenerTabla();
     this.boxCargo.DataSource = Empleado.cargarCargos();
 }
示例#2
0
 private void frmFiltrarEmpleado_Load(object sender, EventArgs e)
 {
     this.dgvFiltrarEmp.DataSource = Empleado.ListEmp;
     this.FormClosed += new FormClosedEventHandler(volver);
     this.boxSelecCargo.DataSource = Empleado.cargarCargos();
 }