Exemplo n.º 1
0
 /// <summary>
 /// Called when a solution has been loaded.
 /// </summary>
 protected void SolutionLoaded(Solution solution)
 {
     // SolutionLoaded will be invoked from another thread.
     // The UnitTestsPad might be disposed by the time the event is processed by the main thread.
     if (treeView != null)
     {
         if (solution != null)
         {
             treeView.AddSolution(solution);
         }
         else
         {
             treeView.Clear();
         }
     }
 }