private void RunCompleted(object exception)
{
if (InvokeRequired)
{
this.BeginInvoke(new WaitCallback(RunCompleted), exception);
return;
}
if (IsDisposed)
{
return;
}
SetRunning(false);
EndpointTB.Text = "---";
IterationTB.Text = "---";
TestCaseTB.Text = "---";
TestCaseProgressCTRL.Value = TestCaseProgressCTRL.Maximum;
if (exception != null)
{
GuiUtils.HandleException(this.Text, MethodBase.GetCurrentMethod(), (Exception)exception);
}
}
#endregion