private void label8_Click(object sender, EventArgs e) { this.Hide(); Form19 f19 = new Form19(); f19.Show(); }
//trecerea la următorul Form, respectiv oprirea coloanei sonore private void button2_Click(object sender, EventArgs e) { player.controls.stop(); this.Hide(); Form19 f19 = new Form19(); f19.Show(); }
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { //aici se stabilește modul sonorului (cu sonor, respectiv fără) pentru primul comboBox if (comboBox2.SelectedIndex == 0) { Class2.Muzica = 0; } else if (comboBox2.SelectedIndex == 1) { Class2.Muzica = 1; } // //aici se stabilește către ce descriere de joc este trimis utilizatorul, conform selectării din comboBox int op; op = comboBox1.SelectedIndex; if (op == 0) { //Ultima Underworld this.Hide(); Form13 f13 = new Form13(); f13.Show(); } if (op == 1) { //Ultima Underworld II this.Hide(); Form15 f15 = new Form15(); f15.Show(); } if (op == 2) { //System Shock this.Hide(); Form17 f17 = new Form17(); f17.Show(); } if (op == 3) { //Flight Unlimited this.Hide(); Form19 f19 = new Form19(); f19.Show(); } if (op == 4) { //Terra Nova: Strike Force Centauri this.Hide(); Form20 f20 = new Form20(); f20.Show(); } if (op == 5) { //British Open Championship Golf //Flight Unlimited 2 this.Hide(); Form22 f22 = new Form22(); f22.Show(); } if (op == 6) { //Thief: The Dark Project this.Hide(); Form5 f5 = new Form5(); f5.Show(); } if (op == 7) { //System Shock 2 //Flight Unlimited 3 this.Hide(); Form7 f7 = new Form7(); f7.Show(); } if (op == 8) { //Thief II: The Metal Age this.Hide(); Form10 f10 = new Form10(); f10.Show(); } // }
private void pictureBox13_Click(object sender, EventArgs e) { //aici se stabilește modul sonorului (cu sonor, respectiv fără) pentru pictureBox-ul din Slide-Show if (comboBox2.SelectedIndex == 0) { Class2.Muzica = 0; } else if (comboBox2.SelectedIndex == 1) { Class2.Muzica = 1; } // //alegerea Form-ului cu descrierea jocului la apăsarea pictureBox-ului if (i == 0) //Ultima Underworld { this.Hide(); Form13 f13 = new Form13(); f13.Show(); } else if (i == 1) //Ultima Underworld II { this.Hide(); Form15 f15 = new Form15(); f15.Show(); } else if (i == 2) //System Shock { this.Hide(); Form17 f17 = new Form17(); f17.Show(); } else if (i == 3) //Flight Unlimited { this.Hide(); Form19 f19 = new Form19(); f19.Show(); } else if (i == 4) //Terra Nova: Strike Force Centauri { this.Hide(); Form20 f20 = new Form20(); f20.Show(); } else if (i == 5) //British Open Championship Golf { this.Hide(); Form22 f22 = new Form22(); f22.Show(); } else if (i == 6) //Flight Unlimited 2 { this.Hide(); Form23 f23 = new Form23(); f23.Show(); } else if (i == 7) //Thief: The Dark Project { this.Hide(); Form5 f5 = new Form5(); f5.Show(); } else if (i == 8) //System Shock 2 { this.Hide(); Form7 f7 = new Form7(); f7.Show(); } else if (i == 9) //Flight Unlimited 3 { this.Hide(); Form9 f9 = new Form9(); f9.Show(); } else if (i == 10) //Thief II: The Metal Age { this.Hide(); Form10 f10 = new Form10(); f10.Show(); } // }