Beispiel #1
0
        private void sobreToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmSobre frmsobre = new frmSobre();

            frmsobre.MdiParent   = this;
            frmsobre.WindowState = FormWindowState.Maximized;
            frmsobre.Show();
        }
Beispiel #2
0
        private void sobreToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var instancec = Application.OpenForms.OfType <frmSobre>().FirstOrDefault();

            if (instancec == null)
            {
                instancec = new frmSobre();
                instancec.Show();
            }
            else
            {
                //instancec.Focus();
            }
        }