private void toolHistorial_Click(object sender, EventArgs e) { frmListaHistorial lh = new frmListaHistorial(); lh._idempleado = _idempleado; lh.Show(); }
private void toolHistorial_Click(object sender, EventArgs e) { if (GLOBALES.FORMISOPEN("frmListaHistorial")) return; int fila = dgvEmpleados.CurrentCell.RowIndex; frmListaHistorial lh = new frmListaHistorial(); //lh.MdiParent = this.MdiParent; lh._idempleado = int.Parse(dgvEmpleados.Rows[fila].Cells[0].Value.ToString()); lh.Show(); }