コード例 #1
0
 private void VolumeS_prograssChanged(object sender, VolumePrograssChangedEventArgs e)
 {
     this.Invoke(new MethodInvoker(delegate()
     {
         lblPrograssS.Text  = e.prograss.ToString() + " / " + e.total.ToString();
         progressBarS.Value = (e.prograss * 100) / e.total;
     }));
 }
コード例 #2
0
 protected virtual void OnPrograssChanged(VolumePrograssChangedEventArgs e)
 {
     prograssChanged?.Invoke(this, e);
 }
コード例 #3
0
 public Volume()
 {
     prograssChangeArgs   = new VolumePrograssChangedEventArgs();
     volumeCalculatedArgs = new VolumeCalculatedEventArgs();
 }