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

            frmAgregarEditarEgreso faee = new frmAgregarEditarEgreso(Convert.ToInt32(this.dataGridEgreso.Rows[r].Cells["idegreso"].Value.ToString()));
            faee.actualizarDataGridEvento += new frmAgregarEditarEgreso.actualizarDataGrid(llenarDataGrid);
            faee.MdiParent = this.MdiParent;
            faee.Show();
        }