private void toolStripButton5_Click(object sender, EventArgs e) { try{ MOVIMENTACOES.frmContasAReceber frm = new MOVIMENTACOES.frmContasAReceber(); //frm.MdiParent = this; frm.WindowState = System.Windows.Forms.FormWindowState.Normal; frm.ShowDialog(); frm = null; }catch (Exception ex) { MessageBox.Show(ex.Message, "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); } }
private void fORMAPAGAMENTOTESTEToolStripMenuItem_Click(object sender, EventArgs e) { try { MOVIMENTACOES.frmContasAReceber frm = new MOVIMENTACOES.frmContasAReceber(); //frm.MdiParent = this; frm.ShowDialog(); frm = null; } catch (Exception ex) { MessageBox.Show(ex.Message, "Erro", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1); } }