private void btnDevam_Click(object sender, EventArgs e) { durdurPanel.Visible = false; durdurPanel.Enabled = false; TimerZorluk.Start(); TimerDusman.Start(); TimerDusmanHareket.Start(); TimerMermiHareket.Start(); }
private void DusmanHareket() { DusmanOlustur enemyShip = new DusmanOlustur(); Random rasgele = new Random(); int sayi = rasgele.Next(5, 845); enemyShip.Konum = new Point(sayi, 0); this.Controls.Add(enemyShip.Resim); gemiler.Add(enemyShip); TimerDusmanHareket.Start(); }