Skip to content

Trouble with managing button clicks

Michael Sabo

Asked May 14, 2011, 6:30 AM EDT3 answers
Share
LinkedInX
i have a project i'm working on for school, however i'm stumped at a particular spot. i have to create a matching game and i'm not sure how to manage my button clicks. for example:

if i click button 1, it changes the button text to the tag name. when i click on a second button, it will check to see if the tag names match, if so, it they will both disable; otherwise they should go back to being the button.text.

attached is my code.

thank you.

3 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Suthish Nair
    0
     Welcome to C# Corner...

     Refer attached code...

     
    0
  • 0
    Thank you for the response!  That helps me a lot.  Thank you.
    0
  • Suthish Nair
    0
    Mark the post as Accepted Answer !
    0