public TaskBI() { if (ofertaNeg == null) { ofertaNeg = new OfertaNeg(); } }
public MenuBIPage() { if (ofertaNeg == null) { ofertaNeg = new OfertaNeg(); } InitializeComponent(); }
public VerOfertasPage() { InitializeComponent(); if (ofertaNeg == null) { ofertaNeg = new OfertaNeg(); } if (imagenesOfertaNeg == null) { imagenesOfertaNeg = new ImagenesOfertaNeg(); } if (listaOfertas == null) { listaOfertas = ofertaNeg.ListarOfertas(); } caragarDtOfertas(); }
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(); } }
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(); }
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(); }
public PrincipalPage() { InitializeComponent(); setSeriesCollection(); dtFechaOfertaVisitada.SelectedDate = DateTime.Now; if (ofertaNeg == null) { ofertaNeg = new OfertaNeg(); } if (rubroNeg == null) { rubroNeg = new RubroNeg(); } if (listaOfertasMasVisitadas == null) { listaOfertasMasVisitadas = new List <Oferta>(); } if (trabajadorNeg == null) { trabajadorNeg = new TrabajadorNeg(); } if (productoNeg == null) { productoNeg = new ProductoNeg(); } txtCantOfertas.Text = ofertaNeg.cantidadTotalOfertas().ToString(); txtCantTrabajadores.Text = trabajadorNeg.cantidadTotalTrabajadores().ToString(); txtCantProductos.Text = productoNeg.cantidadTotalProductos().ToString(); listarOfertasMasVisitadas(); listarRubrosMasVisitados(); setCartesianChart(); }