예제 #1
0
 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++;
 }
예제 #2
0
        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();;
        }
예제 #3
0
        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++;
        }