private void openSmallScreenToolStripMenuItem_Click(object sender, EventArgs e) { foreach (Form frm in Application.OpenForms) { if (frm.Name == "simple") { frm.Activate(); return; } } simple sfrm = new simple(); sfrm.Show(); }
public void b7_Click(object sender, EventArgs e) { foreach (Form frm in Application.OpenForms) { if (frm.Name == "simple") { frm.Activate(); return; } } simple sfrm = new simple(); sfrm.Show(); }