Beispiel #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     _mazeEngine = new MazeEngine(MainRenderControl);
     AlgorithmComboBox.SelectedIndex = 0;
     new Thread(() => Invoke(new MethodInvoker(() => _mazeEngine.Run(MainRenderControl))))
     {
         IsBackground = true
     }.Start();
 }
Beispiel #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     _mazeEngine = new MazeEngine(MainRenderControl);
     AlgorithmComboBox.SelectedIndex = 0;
     new Thread(() => Invoke(new MethodInvoker(() => _mazeEngine.Run(MainRenderControl)))){IsBackground =  true}.Start();
 }