示例#1
0
 private void showBoard()
 {
     int[] startBoard = board.getStartBoard();
     for (int i = 0; i < 80; i++)
     {
         if (startBoard[i] != 0)
         {
             Square s = board.GetSquares()[i + 1];
             s.Fixed = true;
             Label l = (Label)FindName(s.LabelID);
             l.Content = s.Value;
         }
     }
 }