Click here to Skip to main content
15,915,324 members

Comments by Member 13200081 (Top 3 by date)

Member 13200081 24-Dec-17 9:30am View    
well actually they are helping me out. unlike here.

all i need is help. thats why i even bothered posting.
Member 13200081 24-May-17 10:49am View    
iv done so, now the whole world knows i cant code #hides :-)
Member 13200081 24-May-17 10:31am View    
i've tried using

_random = new Random(); // declared random value assigned to _random
pictureBox1.Location = new Point(0, 0); // start postion of picture box
int x = _random.Next(0, 2); // move value of x will always be 1
pictureBox1.Left += x;

my coding didn't work out because i could not bound picturebox to form, that been number 1 and it changing direction as soon as it reaches the end of form as number 2.