private void button1_Click(object sender, EventArgs e) { if (radioHızlı.Checked) { Properties.Settings.Default.hızlıDb = 1; Properties.Settings.Default.ortaDb = 0; Properties.Settings.Default.yavasDb = 0; } else if (radioOrta.Checked) { Properties.Settings.Default.hızlıDb = 0; Properties.Settings.Default.ortaDb = 1; Properties.Settings.Default.yavasDb = 0; } else if (radioYavas.Checked) { Properties.Settings.Default.hızlıDb = 0; Properties.Settings.Default.ortaDb = 0; Properties.Settings.Default.yavasDb = 1; } oyunEkrani oyunE = new oyunEkrani(); oyunE.Show(); this.Hide(); }
private void button2_Click(object sender, EventArgs e) { oyunEkrani oyun = new oyunEkrani(); Form1 fr = new Form1(); fr.Show(); oyun.Hide(); this.Hide(); }