Beispiel #1
0
 private void OnPatchProgressChange(object sender, ProgressChangeEventArgs args)
 {
     if (this.Visible)
     {
         Invoke((MethodInvoker) delegate { progressBar.Value = args.Percent; });
     }
 }
Beispiel #2
0
 private void OnPatchProgressChange(object sender, ProgressChangeEventArgs args)
 {
     if (this.Visible)
         Invoke((MethodInvoker)delegate { progressBar.Value = args.Percent; });
 }