Beispiel #1
0
 public void AddResultControl(TestResult res)
 {
     Dispatcher.Invoke(DispatcherPriority.Normal,
                       new Action(
                           delegate()
     {
         TestResultControl resultControl = new TestResultControl();
         resultControl.Initialize(res);
         resultPanel.Children.Add(resultControl);
     }
                           ));
 }
 public void AddResultControl(TestResult res)
 {
     Dispatcher.Invoke(DispatcherPriority.Normal,
             new Action(
                 delegate()
                 {
                     TestResultControl resultControl = new TestResultControl();
                     resultControl.Initialize(res);
                     resultPanel.Children.Add(resultControl);
                 }
                 ));
 }