Esempio n. 1
0
        public ApplicationWindow()
        {
            InitializeComponent();

            this.myGame          = new Game.Game(this);
            this.canvas          = new Canvas(this.myGame);
            this.canvas.Size     = new Size(600, 300);
            this.canvas.Location = new Point(10, 100);
            this.Controls.Add(this.canvas);

            //this.buttonStartGame.Enabled = false;
        }
Esempio n. 2
0
 public Canvas(Game.Game game)
 {
     InitializeComponent();
     this.game = game;
 }