Click here to Skip to main content
15,885,767 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a ping pong game that I want to connect to a classic ping pong game, however I don't know who to connect the two together. How do I add menu items on the form for the bold sections of my code?

Here is the code (I hope I done it right):

Public Sub New()
Title = "ScoontzPong"
MenuItems = New List(Of String)()
MenuItems.Add("Single Player")
MenuItems.Add("Multi Player")
MenuItems.Add("Exit Game")
FormScoontzPongClassic.Show("Play Classic Game")
FormGames.Show("Back to Games")
About.Show("About ScoontzPong")

Iterator = 0
InfoText = String.Empty
End Sub
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900