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