Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

How to Make Picture Boxes appear randomly for a set amount of time

$
0
0

Hi there

I am new to C# so need a bit of assistance if possible. I am trying to create a Whack a Mole style game, where I want a few of 12 picture boxes to appear randomly, stay for a set amount of time to allow the user the opportunity to click them and then dissappear. Obviously then the process would have to happen again with maybe a different number of picture boxes shown. 

I want this to keep happening until the a timer reaches 0. 

I am thinking a loop or array but am really not sure however I'm sure there will be a simple solution. 

Thanks a lot. 


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>