private void informaciónNominaToolStripMenuItem_Click(object sender, EventArgs e) { CalculoNomina f6 = new CalculoNomina(); f6.Show(); this.Hide(); }
private void btnEnviar_Click(object sender, EventArgs e) { CalculoNomina f6 = new CalculoNomina(); foreach (DataGridViewRow fila in dgvfiltrado.SelectedRows) { f6.dgvnomina.Rows.Add(fila.Cells[0].Value, fila.Cells[1].Value, fila.Cells[2].Value, fila.Cells[3].Value, fila.Cells[4].Value, fila.Cells[5].Value, fila.Cells[6].Value, fila.Cells[7].Value, fila.Cells[8].Value, fila.Cells[9].Value); } f6.Show(); f6.btncalcularv.Enabled = true; f6.btncalcularap.Enabled = false; f6.btnvolverc.Enabled = true; }