Pls i need help wit my windows form...i hav 25 buttons wen any of d buttons is clicked nd it all 25 buttons turns red dats d end...this is my question..... How do I randomly assign the
Content of the buttons so that
the correct option 4 all button 2 turn red isn't in the
same button all the time?
esedee
0
Newbie Poster
Recommended Answers
Jump to PostI'm not sure I understand what you need but if you want to randomly alter one of the buttons in anyway then you first need to randomly select which button to alter.
The Random type can help you there:Random rand = new Random(); int r = …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.