private static int INTERVAL = 25; //任兩條棋盤線的距離 public Form1() { InitializeComponent(); board.SetBoard(board); piece = board.GetPiece(); for (int i = 0; i < 10; i++) { for (int j = 0; j < 9; j++) { this.Controls.Add(piece[i, j]); this.BringToFront(); } } }