MainMenu Class

Fight Game AI Demo

MainMenu Class
Main menu user form
Inheritance Hierarchy
SystemObject  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsContainerControl
            System.Windows.FormsForm
              FightGameAIDemoMainMenu

Namespace: FightGameAIDemo
Assembly: FightGameAIDemo (in FightGameAIDemo.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class MainMenu : Form

The MainMenu type exposes the following members.

Constructors
  NameDescription
Public methodMainMenu
Initializes a new instance of the MainMenu class.
Top
Methods
  NameDescription
Private methodbtnFightScreen_Click
Handles the Click event of the btnFightScreen control. Opens the AI Fight game form
Private methodbtnQuit_Click
Handles the Click event of the btnQuit control. Closes the application
Protected methodDispose
Clean up any resources being used.
(Overrides FormDispose(Boolean).)
Private methodFightGameForm_Load
Handles the Load event of the FightGameForm control.
Private methodInitializeComponent
Required method for Designer support - do not modify the contents of this method with the code editor.
Top
Fields
  NameDescription
Private fieldbtnFightScreen
Private fieldbtnQuit
Private fieldcomponents
Required designer variable.
Top
See Also