private void timerProgres_Tick(object sender, EventArgs e) { if (tekrar == 1) { button3.Enabled = false; button2.Enabled = false; tm.Value += 20; if (tm.Value >= 100) { timerProgres.Stop(); kk frm = new kk(); frm.Show(); this.Hide(); } menu = 0; } else if (menu == 1) { button3.Enabled = false; button2.Enabled = false; tm.Value += 20; if (tm.Value >= 100) { timerProgres.Stop(); Menü frm2 = new Menü(); frm2.Show(); this.Hide(); } tekrar = 0; } }
private void button2_Click(object sender, EventArgs e) { Menü frm2 = new Menü(); this.Hide(); frm2.Show(); }
private void progres_Tick(object sender, EventArgs e) { if (tekrar == 1) { progressBar3.Value += 20; if (progressBar3.Value >= 100) { progres.Stop(); İki_Oyuncu frm = new İki_Oyuncu(); frm.Show(); this.Hide(); } menu = 0; } else if (menu == 1) { progressBar3.Value += 20; if (progressBar3.Value >= 100) { progres.Stop(); Menü frm2 = new Menü(); frm2.Show(); this.Hide(); } tekrar = 0; } }
private void timer1_Tick_1(object sender, EventArgs e) { sayac += 20; if (sayac >= 100) { timer1.Stop(); Menü frm2 = new Menü(); this.Hide(); frm2.Show(); } }