private void buttonAgregar_Click(object sender, EventArgs e)
 {
     frmAgregarEditarIngreso faei = new frmAgregarEditarIngreso();
     faei.actualizarDataGridEvento += new frmAgregarEditarIngreso.actualizarDataGrid(llenarDataGrid);
     faei.MdiParent = this.MdiParent;
     faei.Show();
 }
        private void buttonEditar_Click(object sender, EventArgs e)
        {
            int r = this.dataGridIngreso.CurrentCell.RowIndex;

            frmAgregarEditarIngreso faei = new frmAgregarEditarIngreso(Convert.ToInt32(this.dataGridIngreso.Rows[r].Cells["idingreso"].Value.ToString()));
            faei.actualizarDataGridEvento += new frmAgregarEditarIngreso.actualizarDataGrid(llenarDataGrid);
            faei.MdiParent = this.MdiParent;
            faei.Show();
        }