예제 #1
0
 private void DeleteMethod(Table table, int i)
 {
     for (int j = 0; j < Column; j++)
     {
         if (!table.Checked[i - 1, j])
             table.Click(i, j);
     }
 }
예제 #2
0
        private void FirstRowTree(Table table, int j)
        {
            if (j < Column)
            {
                Table table1 = new Table(table);
                table1.Click(0, j);
                FirstRowTree(table, j + 1);
                FirstRowTree(table1, j + 1);

            }
            else if (j == Column)
            {
                Complete(table);
                if (BottomRowCheckComplete(table))
                {
                    Solutions.Add(table);
                }
            }
        }