private void tmr_Uretici_Tick(object sender, EventArgs e) { Point konum = new Point(rnd.Next(20, container.Width - 70)); Ucak ucak = new Ucak(konum, this.container); Ucaklar.Add(ucak); }
private void Tmr_Uretici_Tick(object sender, EventArgs e) { Point point = new Point(rnd.Next(20, container.Width - 70), 20); Ucak ucak = new Ucak(point, this.container); Ucaklar.Add(ucak); }
private void TmrUretici_Tick(object sender, EventArgs e) { Point point = new Point() { X = rnd.Next(60, tasiyici.Width - 60), Y = 0 }; Ucak ucak = new Ucak(point); Ucaklar.Add(ucak); tasiyici.Controls.Add(ucak.ResimKutusu); }