public void AplicarOperacion(Entidades.Entidades.BarraProgreso miBarra)
        {
            int porcentaje = 0;

            for (int i = 1; i <= 10; i++)
            {
                porcentaje = (100 * i) / 10;
                miBarra(porcentaje, string.Format("Procesando la factura {0}", i));
                Thread.Sleep(500);
            }
        }
Exemple #2
0
        public void AplicarOperacion(Entidades.Entidades.BarraProgreso miBarra)
        {
            Facturas factura = new Facturas();

            factura.AplicarOperacion(miBarra);
        }