Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question C# Windows Application Multiple Forms?

    Hey guys, I'm trying to make a simple Rock Paper Scissor game as my first C# project on Visual Studio but I'm having a bit of trouble.

    I'm trying to make the game have a title page like one of those retro games with a Title page, like really one of those 8 bit games.

    I was thinking about making a a page with four options, Start, Exit, Rules, and About. When the user picks an option, a different form appears in the same window that actually shows the game.

    Can anyone help me? Thanks a lot!

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    You would just need to hide the menu controls on the form and then show whatever controls you need for the game. You could use container object so you don't have to hide and show all the individual controls. I know that is kind of a vague answer but I'm not sure on your skill level so I didn't want to write a bunch of code that you already knew.
    OracleGuy


  •  

    Tags for this Thread

    Posting Permissions

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