Пример #1
0
        private void reporteDeNotasToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (cf == null)
            {
                cf             = new CuadroFinal();
                cf.MdiParent   = this;
                cf.FormClosed += new FormClosedEventHandler(cf_FormClosed);
                cf.Show();

                if (fa != null)
                {
                    fa.Close();
                }
                if (d != null)
                {
                    d.Close();
                }
                if (f1 != null)
                {
                    f1.Close();
                }
                if (ac != null)
                {
                    ac.Close();
                }
                if (acerca != null)
                {
                    acerca.Close();
                }
            }
            else
            {
                cf.Activate();
            }
        }
Пример #2
0
 public void cf_FormClosed(object sender, EventArgs e)
 {
     cf = null;
 }