private void button3_Click(object sender, EventArgs e) { Home hm = new Home(id, 3); //this.Hide(); hm.ShowDialog(); //this.ShowDialog(); }
//medium lavel id is 2. we use it next form// private void mediumBtn_Click(object sender, EventArgs e) { Home hm = new Home(id, 2); hm.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { Home hm = new Home(id, 2); hm.ShowDialog(); }
//easy lavel id is 1. we use it next form// private void easyBtn_Click(object sender, EventArgs e) { Home hm = new Home(id, 1); hm.ShowDialog(); }