Exemple #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            Random r     = new Random();
            int    xcord = r.Next(0, Width);

            baloni[brojac] = new Balon(xcord, Height - 20, brzina);
            brojac++;
        }
Exemple #2
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     Random r = new Random();
     int xcord = r.Next(0,Width);
     baloni[brojac] = new Balon(xcord,Height-20,brzina);
     brojac++;
 }