private void documentosToolStripMenuItem_Click(object sender, EventArgs e) { frm_doc frm = new frm_doc(false); frm.MdiParent = this; frm.Show(); }
private void toolStripButton_add_Click(object sender, EventArgs e) { DialogResult res = MessageBox.Show("Deseja mesmo cadastrar uma nova categoria de documentos?", "Midas - Controle Financeiro", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (res == DialogResult.Yes) { //frmIndex frmp = new frmIndex(user); //Form_autenticaForne frm = new Form_autenticaForne(); frm_doc frm = new frm_doc(true); frm.MdiParent = this.MdiParent; frm.Show(); this.Hide(); } else { } }