Example #1
0
        private void usuariosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frm_user frm = new frm_user(false);

            frm.MdiParent = this;
            frm.Show();
        }
Example #2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            DialogResult res = MessageBox.Show("Deseja mesmo cadastrar uma novo usuário?", "Midas - Controle Financeiro", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

            if (res == DialogResult.Yes)
            {
                //frmIndex frmp = new frmIndex(user);
                //Form_autenticaForne frm = new Form_autenticaForne();
                frm_user frm = new frm_user(true);
                frm.MdiParent = this.MdiParent;
                frm.Show();
                this.Hide();
            }
        }