Exemple #1
0
 public TestProgressForm(TestWorkspace testWorkspace)
 {
     InitializeComponent();
     this.testWorkspace         = testWorkspace;
     lastEstimatedRemainingTime = testWorkspace.GetTestEstimatedRunningTime();
     currentActivityLastEstimatedRemainingTime = ((CCTestWorkspace)testWorkspace).GetRandomExplorationEstimatedRunningTime();
     lblElapsedTime.Text   = elapsedTime.ToString();
     lblRemainingTime.Text = lastEstimatedRemainingTime.ToString();
     lblFinishTime.Text    = (DateTime.Now + lastEstimatedRemainingTime).ToString();
 }