Ejemplo n.º 1
0
        private void horasExtrasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Horas f7 = new Horas();

            f7.Show();
            this.Hide();
        }
Ejemplo n.º 2
0
        private void btnEnviar_Click(object sender, EventArgs e)
        {
            Horas f7 = new Horas();

            foreach (DataGridViewRow fila in dgvvalores.SelectedRows)
            {
                f7.dgvvaloreshora.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, fila.Cells[10].Value, fila.Cells[11].Value, fila.Cells[12].Value,
                                           fila.Cells[13].Value, fila.Cells[14].Value, fila.Cells[15].Value, fila.Cells[16].Value,
                                           fila.Cells[17].Value, fila.Cells[18].Value, fila.Cells[19].Value);
            }
            f7.Show();
            f7.btnvolvernomina.Enabled = true;
        }