2
Reply

Random button color ?

GaLaZ

GaLaZ

Apr 11 2009 9:45 AM
12.6k

Hi,

I've just begun with C# and I've encountered a problem...

I've got 25 buttons on my windows form, they all have black background... My objective is to randomly assign them one of 2 colors (black, white), when my application starts. How can I solve my problem? Could you help me?



Thanks,


Gregory

Answers (2)