private void buttonXML_Click(object sender, EventArgs e) { if (contaSelectionada == null) { return; } MessageBox.Show(contaSelectionada.AsXml()); }