private void buttonAgregarEgreso_Click(object sender, EventArgs e)
 {
     frmAgregarEditarEgresoGlobal faee = new frmAgregarEditarEgresoGlobal();
     faee.actualizarDataGridEvento += new frmAgregarEditarEgresoGlobal.actualizarDataGrid(calcular);
     //faee.calcularDataGridEvento += new frmAgregarEditarEgresoGlobal.calcularDataGrid(calcular);
     faee.MdiParent = this.MdiParent;
     faee.Show();
 }
 private void buttonEditarEgreso_Click(object sender, EventArgs e)
 {
     int r = this.dataGridEgreso.CurrentCell.RowIndex;
     frmAgregarEditarEgresoGlobal faee = new frmAgregarEditarEgresoGlobal(Convert.ToInt32(this.dataGridEgreso.Rows[r].Cells["idegreso"].Value));
     faee.actualizarDataGridEvento += new frmAgregarEditarEgresoGlobal.actualizarDataGrid(llenarEgresos);
     faee.MdiParent = this.MdiParent;
     faee.Show();
 }