private void abrirCadastro_Click(object sender, EventArgs e) { var form = new FrmCadastro(); form.MdiParent = MDISingleton.InstSingleton(); form.Show(); }
private void btnAbrirNovaJanela_Click(object sender, EventArgs e) { var form1 = new FrmShow(); form1.lblMensagem.Text = txtResultado.Text; form1.MdiParent = MDISingleton.InstSingleton(); form1.Show(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(MDISingleton.InstSingleton()); }