Пример #1
0
 public void EjecutarLectura(List <ResumenLecturaMedidor> list, DateTime desde, DateTime hasta, EjecutorLectura ej)
 {
     _lista           = list;
     _desde           = desde;
     _hasta           = hasta;
     _ejecutorLectura = ej;
     _pgbar.Maximum   = _lista.Count;
     _bkwr.RunWorkerAsync();
     ShowDialog();
 }
Пример #2
0
 protected override void OnFormClosed(FormClosedEventArgs e)
 {
     base.OnFormClosed(e);
     _ejecutorLectura.Dispose();
     _ejecutorLectura = null;
 }
Пример #3
0
 public FormLecturas()
 {
     InitializeComponent();
     _ejecutorLectura = new EjecutorLectura();
 }