示例#1
0
 public void startSetup()
 {
     setUp                  = new setUpTwoPlayerBoard();
     setUp.Location         = new System.Drawing.Point(0, 0);
     setUp.Height           = this.Height;
     setUp.Width            = this.Width;
     setUp.startGame.Click += startGame_click;
     this.Controls.Add(setUp);
     if (battleBoard != null)
     {
         battleBoard.Dispose();
     }
 }
示例#2
0
 public void startSetup()
 {
     setUp                  = new setUpTwoPlayerBoard();
     setUp.Location         = new Point(0, 0);
     setUp.Height           = this.Height;
     setUp.Width            = this.Width;
     setUp.startGame.Click += startGame_click;
     setUp.BackColor        = Color.Transparent;
     this.Controls.Add(setUp);
     if (battleBoard != null)
     {
         battleBoard.Dispose();
     }
 }