private void dgvconsulta_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { ModEmpleado forma = new ModEmpleado(); forma.buscar(int.Parse(dgvconsulta.CurrentRow.Cells["Id"].Value.ToString())); forma.ShowDialog(); }
private void modificarToolStripMenuItem_Click(object sender, EventArgs e) { ModEmpleado modempleado = new ModEmpleado(); modempleado.ShowDialog(); }