Esempio n. 1
0
 public VerOfertaDetallePage()
 {
     InitializeComponent();
     if (ofertaNeg == null)
     {
         ofertaNeg = new OfertaNeg();
     }
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
     if (productoNeg == null)
     {
         productoNeg = new ProductoNeg();
     }
     if (estadoNeg == null)
     {
         estadoNeg = new EstadoNeg();
     }
     if (rubroNeg == null)
     {
         rubroNeg = new RubroNeg();
     }
     if (detalleOfertaNeg == null)
     {
         detalleOfertaNeg = new DetalleOfertaNeg();
     }
     if (imagenesOfertaNeg == null)
     {
         imagenesOfertaNeg = new ImagenesOfertaNeg();
     }
     if (listaImagenes == null)
     {
         listaImagenes = new List <object>();
     }
     if (listaImagenesOferta == null)
     {
         listaImagenesOferta = new List <ImagenOferta>();
     }
     if (valoracionOfertaNeg == null)
     {
         valoracionOfertaNeg = new ValoracionOfertaNeg();
     }
 }
Esempio n. 2
0
 public MenuOfertaPage()
 {
     InitializeComponent();
     if (ofertaNeg == null)
     {
         ofertaNeg = new OfertaNeg();
     }
     if (detalleOfertaNeg == null)
     {
         detalleOfertaNeg = new DetalleOfertaNeg();
     }
     if (imagenesOfertaNeg == null)
     {
         imagenesOfertaNeg = new ImagenesOfertaNeg();
     }
     if (listaOfertas == null)
     {
         listaOfertas = ofertaNeg.ListarOfertas();
     }
     cargarDtOfertas();
 }
Esempio n. 3
0
 public RegistrarOfertaPage()
 {
     InitializeComponent();
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
     if (productoNeg == null)
     {
         productoNeg = new ProductoNeg();
     }
     if (estadoNeg == null)
     {
         estadoNeg = new EstadoNeg();
     }
     if (rubroNeg == null)
     {
         rubroNeg = new RubroNeg();
     }
     if (ofertaNeg == null)
     {
         ofertaNeg = new OfertaNeg();
     }
     if (detalleOfertaNeg == null)
     {
         detalleOfertaNeg = new DetalleOfertaNeg();
     }
     if (imagenesOfertaNeg == null)
     {
         imagenesOfertaNeg = new ImagenesOfertaNeg();
     }
     if (listaImagenes == null)
     {
         listaImagenes = new List <object>();
     }
     cargarCbxs();
     setDatePickers();
 }