Exemple #1
0
 public ModificarProductoPage()
 {
     InitializeComponent();
     if (producto == null)
     {
         producto = new Producto();
     }
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
     if (productoNeg == null)
     {
         productoNeg = new ProductoNeg();
     }
     if (estadoNeg == null)
     {
         estadoNeg = new EstadoNeg();
     }
     if (rubroNeg == null)
     {
         rubroNeg = new RubroNeg();
     }
     controlesProducto.cbxRubro.SelectionChanged += CbxRubro_SelectionChanged;
 }
Exemple #2
0
 public RegistrarEmpresaPage()
 {
     InitializeComponent();
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
     if (empresaNeg == null)
     {
         empresaNeg = new EmpresaNeg();
     }
 }
Exemple #3
0
 public ModificarLocalPage()
 {
     InitializeComponent();
     if (empresaNeg == null)
     {
         empresaNeg = new EmpresaNeg();
     }
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
 }
Exemple #4
0
 public MenuLocalPage()
 {
     InitializeComponent();
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
     if (listaLocales == null)
     {
         listaLocales = localNeg.ListarLocales();
     }
     cargarDataGridLocal();
 }
Exemple #5
0
 public RegistrarTrabajadorPage()
 {
     InitializeComponent();
     if (trabNeg == null)
     {
         trabNeg = new TrabajadorNeg();
     }
     if (perfilNeg == null)
     {
         perfilNeg = new PerfilNeg();
     }
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
     cargarConboBox();
 }
Exemple #6
0
 public ModificarTrabajadorPage()
 {
     InitializeComponent();
     if (trabNeg == null)
     {
         trabNeg = new TrabajadorNeg();
     }
     if (perfilNeg == null)
     {
         perfilNeg = new PerfilNeg();
     }
     if (localNeg == null)
     {
         localNeg = new LocalNeg();
     }
     CargarLocales();
     CargarPerfiles();
 }
Exemple #7
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();
     }
 }
Exemple #8
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();
 }
Exemple #9
0
 public RegistrarProductoPage()
 {
     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();
     }
     camposProductos.cbxRubro.SelectionChanged += CbxRubro_SelectionChanged;
     cargarCbxLocal();
     cargarCboEstado();
     cargarCbxRubro();
 }