Example #1
0
        public PedirDevolucion()
        {
            InitializeComponent();
            this.home = HomeFactory.Cupon;
            this.SetBindingSource(new CuponParaDevolucion());
            this.tipoUsuarioDisponible = CLIENTE;

            this.Setup();
        }
Example #2
0
        public DevolverCupon(CuponParaDevolucion cuponParaDevolucion)
        {
            InitializeComponent();
            this.home = HomeFactory.Cupon;
            this.SetBindingSource(this.home.GetCuponParaDevolucion(cuponParaDevolucion));
            this.tipoUsuarioDisponible = CLIENTE;

            this.Setup();
        }
Example #3
0
        public ArmarCupon()
        {
            InitializeComponent();
            this.home = HomeFactory.Cupon;
            this.SetBindingSource(new Cupon());
            this.tipoUsuarioDisponible = PROVEEDOR;

            this.Text = "Armar Cupón";
            this.CreateBindings(this.buttonArmarCupon);
        }
Example #4
0
        public RegistroConsumo()
        {
            InitializeComponent();
            this.home = HomeFactory.Cupon;
            this.SetBindingSource(new Cupon_canjeado());
            this.tipoUsuarioDisponible = PROVEEDOR;

            this.Text = "Registrar Consumo de Cupón";
            this.CreateBindings(this.buttonRegistrar);
        }