private void citaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form formulario in this.MdiChildren)
            {
                if (formulario == objCita)
                {
                    formulario.Show();
                }
                else
                {
                    formulario.Hide();
                }
            }

            objCita.MdiParent = this;
            objCita.Show();
        }
Example #2
0
        private void pictureBox10_Click(object sender, EventArgs e)
        {
            frmCita objCita = new frmCita();

            objCita.MdiParent = this.MdiParent;
            this.Hide();
            objCita.Show();
        }