Exemplo n.º 1
0
 private void Read_prograssChanged(object sender, ModelReadPrograssChangedEventArgs e)
 {
     this.Invoke(new MethodInvoker(delegate()
     {
         lblPrograssS.Text  = e.prograss.ToString() + " / " + e.total.ToString();
         progressBarS.Value = (e.prograss * 100) / e.total;
     }));
 }
Exemplo n.º 2
0
 protected virtual void OnPrograssChanged(ModelReadPrograssChangedEventArgs e)
 {
     prograssChanged?.Invoke(this, e);
 }
Exemplo n.º 3
0
 public ReadAsynchronous()
 {
     prograssChangeArgs = new ModelReadPrograssChangedEventArgs();
     modelReadEventArgs = new ModelReadEventArgs();
     points             = new List <PointEx>();
 }