private void buttonAgregar_Click(object sender, EventArgs e)
 {
     frmAgregarEditarTipoGas faetg = new frmAgregarEditarTipoGas();
     faetg.actualizarDataGridEvento +=new frmAgregarEditarTipoGas.actualizarDataGrid(llenarDataGrid);
     faetg.MdiParent = this.MdiParent;
     faetg.Show();
 }
 private void buttonEditar_Click(object sender, EventArgs e)
 {
     int r = this.dataGridTipoGas.CurrentCell.RowIndex;
     frmAgregarEditarTipoGas faetg = new frmAgregarEditarTipoGas(Convert.ToInt32(this.dataGridTipoGas.Rows[r].Cells["idtipo"].Value.ToString()));
     faetg.actualizarDataGridEvento += new frmAgregarEditarTipoGas.actualizarDataGrid(llenarDataGrid);
     faetg.MdiParent = this.MdiParent;
     faetg.Show();
 }