private void sobreToolStripMenuItem_Click(object sender, EventArgs e) { frmSobre frmsobre = new frmSobre(); frmsobre.MdiParent = this; frmsobre.WindowState = FormWindowState.Maximized; frmsobre.Show(); }
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(); } }