private void OnError(ErrorEventArgs e)
 {
     if (Error == null)
     {
         return;
     }
     Error(this, e);
 }
Esempio n. 2
0
 private void Manager_Error(object sender, ErrorEventArgs e)
 {
     _value = 100;
     _text = string.Format("Error encountered: {0}", e.Exception.Message);
     _isComplete = true;
     BeginInvoke(new MethodInvoker(UpdateProgress));
 }