Exemple #1
0
 private void button2_Click(object sender, RoutedEventArgs e)
 {
     ctrl.Dispatcher.Invoke(new Action(() => ctrl.AddStuff()));
 }