Exemplo n.º 1
0
 private void OnRunStateChangedUIThread( Run run, Run.RunState rsOld, Run.RunState rsNew )
 {
     _lblState.Text = "Current state: " + rsNew.ToString();
     if ( rsNew == Run.RunState.Finished )
         _lblState.Text += ( run.Success ) ? " successfully" : " unsuccessfully";
     _btnStop.Enabled = _r.CanStop;
 }