Example #1
0
        private void abrirCadastro_Click(object sender, EventArgs e)
        {
            var form = new FrmCadastro();

            form.MdiParent = MDISingleton.InstSingleton();
            form.Show();
        }
Example #2
0
        private void btnAbrirNovaJanela_Click(object sender, EventArgs e)
        {
            var form1 = new FrmShow();

            form1.lblMensagem.Text = txtResultado.Text;
            form1.MdiParent        = MDISingleton.InstSingleton();
            form1.Show();
        }
Example #3
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(MDISingleton.InstSingleton());
 }