GraphMetricsAggregator_AggregationCompleted
(
object sender,
RunWorkerCompletedEventArgs e
)
{
AssertValid();
EnableControls();
if (e.Cancelled)
{
}
else if (e.Error != null)
{
ErrorUtil.OnException(e.Error);
slStatusLabel.Text = String.Empty;
}
else
{
// The final status message is a summary of what was done. Show it
// in a message box in addition to the StatusLabel.
this.ShowInformation(slStatusLabel.Text);
this.Close();
}
}