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