コード例 #1
0
 private void OnError(ErrorEventArgs e)
 {
     if (Error == null)
     {
         return;
     }
     Error(this, e);
 }
コード例 #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));
 }