private void keygenform_Click(object sender, EventArgs e) { foreach (Form f in Application.OpenForms) { if (f.Name == "keygen") { return; } } keygen a = new keygen(); a.Show(); }
private void keygenMenu_Click(object sender, EventArgs e) { keygen a = new keygen(); a.Show(); }