示例#1
0
 private void CreateCellGroups()
 {
     for (int i = 0; i < 9; i++)
     {
         rows[i]      = new CellGroup();
         columns[i]   = new CellGroup();
         quadrants[i] = new CellGroup();
     }
 }
示例#2
0
        public Cell(CellGroup row, CellGroup column, CellGroup quadrant, Coords cellCoords)
        {
            this.row        = row;
            this.column     = column;
            this.quadrant   = quadrant;
            this.CellCoords = cellCoords;

            for (int i = 9; i > 0; i--)
            {
                PossibleValues.Add(i);
            }
        }