private void BtnCarregaInfo_Click(object sender, EventArgs e) { try { LimpaGrades(); XML.LeInfoXML(); PreencheGrade(dtgES, XML.RetConteudoNodo(XML.XMLParams.InfoES)); PreencheGrade(dtgIRQ, XML.RetConteudoNodo(XML.XMLParams.InfoIRQ)); PreencheGrade(dtgMemo, XML.RetConteudoNodo(XML.XMLParams.Memo)); PreencheGrade(dtgResumo, XML.GetNodoInfo(XML.XMLParams.ResumoSistema)); DiskService.GetInfo(dataGridView1); } catch (Exception ex) { MessageBox.Show($"Erro carregar informações: {ex.Message}", "Erro!", MessageBoxButtons.OK, MessageBoxIcon.Error); } }