示例#1
0
        private void Btn_todosOfer_Click(object sender, RoutedEventArgs e)
        {
            Oferta ofer = new MisOfertas.Negocio.Oferta();

            lboxOfertasConsu.ItemsSource = ofer.ListaOferta();
            lboxOfertasConsu.Items.Refresh();
        }
示例#2
0
        public PerfilConsumidor()
        {
            InitializeComponent();

            MisOfertas.Negocio.Producto pro  = new Producto();
            MisOfertas.Negocio.Oferta   Ofer = new MisOfertas.Negocio.Oferta();

            lboxProductosConsu.ItemsSource = pro.ListaProductos();
            lboxOfertasConsu.ItemsSource   = Ofer.ListaOferta();
        }
示例#3
0
        public MainWindow()
        {
            InitializeComponent();

            MisOfertas.Negocio.Producto pro  = new MisOfertas.Negocio.Producto();
            MisOfertas.Negocio.Oferta   Ofer = new MisOfertas.Negocio.Oferta();

            lboxProductos.ItemsSource = pro.ListaProductos();
            lboxOfertas.ItemsSource   = Ofer.ListaOferta();
        }
示例#4
0
        public PerfilAdministrador()
        {
            InitializeComponent();

            dp_fdesde.SelectedDate = DateTime.Today;

            MisOfertas.Negocio.Producto pro  = new Producto();
            MisOfertas.Negocio.Oferta   Ofer = new MisOfertas.Negocio.Oferta();

            lboxProductos.ItemsSource     = pro.ListaProductos(); //productos para Ralizar dscunto
            lboxProductosAdmi.ItemsSource = pro.ListaProductos(); //productos
            lboxOfertasAdmi.ItemsSource   = Ofer.ListaOferta();   //ofertas
        }