Exemple #1
0
 private void buttonBacktracking_Click(object sender, EventArgs e)
 {
     Execute(() =>
     {
         bool found = _board.Backtracking();
         if (found)
         {
             panelBoard.Refresh();
         }
         else
         {
             MessageBox.Show("No solution found.");
         }
         return(null);
     });
 }