Exemplo n.º 1
0
        private void LoadUltimaVenta()
        {
            Venta ultimaventa = new Venta();

            VentaPersistidor persistidor = new VentaPersistidor();

            VentaId = persistidor.UltimaVenta(ultimaventa);
            VentaId++; //Este + 1 es el numero de la venta actual (La que estamos procesando)
            labelNumeroOperacion.Text = VentaId.ToString();
        }
 public override string ToString()
 {
     return(VentaId.ToString());
 }