private void mARCASToolStripMenuItem_Click(object sender, EventArgs e) { try { Marcas frm = new Marcas(); //frm.MdiParent = this; frm.ShowDialog(); frm = null; } catch (Exception ex) { MessageBox.Show(ex.Message, "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); } }