예제 #1
0
        private void fileSolicitud_Click(object sender, EventArgs e)
        {
            fSolicitud childForm = new fSolicitud();

            childForm.MdiParent = this;
            childForm.Text      = "Ventana " + childFormNumber++;
            childForm.Show();
        }
예제 #2
0
        private void undoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (Application.OpenForms["fSolicitud"] != null)
            {
                Application.OpenForms["fSolicitud"].Activate();
            }

            else
            {
                fSolicitud fs = new fSolicitud();
                fs.MdiParent = this;
                fs.Show();
            }
        }