public void Hareketliler(AnaPencere a, int apsis) { ordinat = 460; pic = new PictureBox(); pic.ImageLocation = _resimYolu; pic.SizeMode = PictureBoxSizeMode.StretchImage; pic.Size = new Size(30, 25); pic.Location = new Point(apsis, ordinat); Listem.Add(pic); a.Controls.Add(Listem[_sayac]); _sayac++; }
public void Hareketliler(AnaPencere a, int ordinat) { apsis = 5; pic = new PictureBox(); pic.ImageLocation = _resimYolu; pic.SizeMode = PictureBoxSizeMode.StretchImage; pic.Size = new Size(40, 50); pic.Location = new Point(apsis, ordinat); a.Controls.Add(pic); //AsagiGit();; }
public void Hareketliler(AnaPencere a, int ordinat) { apsis = Rastgele.SayiUret(1, 745); pic = new PictureBox(); pic.ImageLocation = _resimYolu; pic.SizeMode = PictureBoxSizeMode.StretchImage; //picturebox icin gerekli bilgiler ataniyor pic.Size = new Size(40, 50); pic.Location = new Point(apsis, ordinat); Listem.Add(pic); a.Controls.Add(Listem[_sayac]); _sayac++; }