private void FrmMain_FormClosing(object sender, FormClosingEventArgs e) { ACBrMDFe.Dispose(); ACBrMDFe = null; }