Exemple #1
0
        private void notasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmNotas n = new frmNotas();

            n.MdiParent = this;
            n.Show();
        }
Exemple #2
0
 private void toolStripMenuItem8_Click_1(object sender, EventArgs e)
 {
     if (Application.OpenForms["frmNotas"] != null)
     {
         Application.OpenForms["frmNotas"].Activate();
     }
     else
     {
         frmNotas frm = new frmNotas();
         frm.MdiParent   = this;
         frm.WindowState = FormWindowState.Maximized;
         frm.Show();
     }
 }