CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2013
    Posts
    1

    Tic Tac Toe game

    Hello,

    I'm gonna make a Tic Tac Toe game in C#(Windows Forms) and have made the menu. Then I made 9 PictureBoxes, 3 in each row where you will be able to press on and then it shows X or O. But I have problems with this part, I don't know how I should build it up. How do I get started with making the click functionality? What is the best to start with?

    I'm thankful for all help!

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004
    Posts
    13,490

    Re: Tic Tac Toe game

    In the form editor, add a click handler for each picturebox. To do this, just doubleclick on each of the pictureboxes. Then open the xxx.Resource.cs file to make sure the handlers were added.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured