예제 #1
0
 public void batchPasswordChangerWorkerError(object sender, BatchPasswordChangerErrorEventArgs e)
 {
     Debug.WriteLine("batchPasswordChangerWorkerError");
     this.Invoke((MethodInvoker) delegate {
         MessageBox.Show(String.Format("Error changing password. Exception: {0}", e.Exception), String.Empty, MessageBoxButtons.OK, MessageBoxIcon.Error);
     });
 }
 public void batchPasswordChangerWorkerError(object sender, BatchPasswordChangerErrorEventArgs e)
 {
     Debug.WriteLine("batchPasswordChangerWorkerError");
     this.Invoke((MethodInvoker) delegate {
         this.log(e.Exception.ToString(), true);
         this.progressBar.Value = e.ProcessedEntries;
     });
 }