private void button1_Click(object sender, EventArgs e) { beginner b = new beginner(); b.Show(); this.Hide(); }
private void beginnerToolStripMenuItem_Click(object sender, EventArgs e) { beginner f = new beginner(); f.Show(); this.Hide(); }
private void newToolStripMenuItem_Click(object sender, EventArgs e) { if (difficutly == 1) { Form1 f = new Form1(); f.Show(); this.Close(); } else if (difficutly == 0) { beginner b = new beginner(); b.Show(); this.Close(); } else { advanced a = new advanced(); a.Show(); this.Close(); } }