private void InitializeComponent()
        {
            highscoreInput = new ControllerHighscoreInput(this);
            menu = new ControllerMenu(this);
            game = new ControllerGame(this);
            levelSelect = new ControllerLevelSelect(this);
            highscores = new ControllerHighscores(this);
            editorSelect = new ControllerEditorSelect(this);
            editor = new ControllerEditor(this);



            this.SuspendLayout();

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1280, 720);
            this.FormBorderStyle = FormBorderStyle.FixedSingle;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.BackColor = Color.White;

            this.Name = "Form1";
            this.Text = "Windesheim Warriors";
            this.Icon = global::WindesHeim_Game.Properties.Resources.IconWINico;
            this.ResumeLayout(false);

            this.setController(ScreenStates.menu);

        }
        private void InitializeComponent()
        {
            menu = new ControllerMenu(this);
            game = new ControllerGame(this);
            levelSelect = new ControllerLevelSelect(this);
            highscores = new ControllerHighscores(this);

            this.setController(ScreenStates.menu);

            this.SuspendLayout();

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1280, 720);
            this.FormBorderStyle = FormBorderStyle.FixedSingle;

            this.Name = "Form1";
            this.Text = "Windesheim Warriors";
            this.ResumeLayout(false);
        }
Esempio n. 3
0
        private void InitializeComponent()
        {
            menu        = new ControllerMenu(this);
            game        = new ControllerGame(this);
            levelSelect = new ControllerLevelSelect(this);
            highscores  = new ControllerHighscores(this);

            this.setController(ScreenStates.menu);

            this.SuspendLayout();

            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1280, 720);
            this.FormBorderStyle     = FormBorderStyle.FixedSingle;

            this.Name = "Form1";
            this.Text = "Windesheim Warriors";
            this.ResumeLayout(false);
        }
Esempio n. 4
0
 public ModelMenu(ControllerMenu controller)
     : base(controller)
 {
     this.menuController = controller;
 }
Esempio n. 5
0
 public ModelMenu(ControllerMenu controller) : base(controller)
 {
     this.menuController = controller;
 }