Ejemplo n.º 1
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     labelProcesados.Text   = Vista.GetCantidadProcesados().ToString();
     labelProcesadosOk.Text = Vista.GetCantidadProcesadosOk().ToString();
     LabelErrores.Text      = Vista.GetCantidadProcesadosError().ToString();
     labelInterval.Text     = Vista.GetElapsedTime;
     label5.Text            = Vista.GetCantidadRepetidos().ToString();
     label7.Text            = Vista.GetCantidadRechazadosDatabase().ToString();
     progressBar1.Value     = Vista.GetPorcentajeProcesamientoRestante();
     label9.Text            = Vista.GetCantidadProcesados().ToString();
     label11.Text           = (Vista.GetCantidadProcesadosError() + Vista.GetCantidadProcesadosOk()).ToString();
     if (Vista.EstaProcesando)
     {
         labelEstado.Text = "LISTO.";
     }
     else
     {
         labelEstado.Text = "LISTO.";
     }
 }