public BarreProgression(JeuSudoku jeu) { InitializeComponent(); this.jeu = jeu; bw = new BackgroundWorker(); bw.WorkerReportsProgress = true; bw.DoWork += new DoWorkEventHandler(bw_faireLeTravail); bw.ProgressChanged += new ProgressChangedEventHandler(bw_mettreAjourLeGui); bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(bw_faitCaAlaFinDuProcessus); bw.RunWorkerAsync(); }
public MainWindow() { InitializeComponent(); jeu = new JeuSudoku(); }