This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
Are-You-Not-Edutained/StudentForms/ConnectFour/frmConnect4Menu.vb

27 lines
986 B
VB.net
Raw Permalink Normal View History

2014-01-15 16:18:42 +00:00
Public Class frmConnect4Menu
'Subroutine runs when the hotseat game button is clicked
Private Sub btnHotseat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnHotseat.Click
'Shows the Connect Four hotseat login form
frmConnect4HotseatLogin.Show()
'Closes this form
Me.Close()
End Sub
'Subroutine runs when the network game button is clicked
Private Sub btnNetwork_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNetwork.Click
'Shows the Connect Four network lobby form
frmConnect4NetworkLobby.Show()
'Closes this form
Me.Close()
End Sub
'Subroutine runs when the back button is clicked
Private Sub btnBack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBack.Click
'Shows the student home form
frmStudentHome.Show()
'Closes this form
Me.Close()
End Sub
End Class