Exemple #1
0
 public WindowCarrier(UsuarioE u)
 {
     InitializeComponent();
     pl     = new PedidoL();
     this.u = u;
     prl    = new LProducto();
     sel    = new LServicio();
     tl     = new LTransporte();
     dgvTransportes.Columns[0].ValueType = typeof(object);
     CargarPedidosTransporte();
 }
 public WindowClient()
 {
     InitializeComponent();
     pl        = new PedidoL();
     productos = new LinkedList <PedidoClienteProductoE>();
     servicios = new LinkedList <PedidoClienteServicioE>();
     prl       = new LProducto();
     sel       = new LServicio();
     tl        = new LTransporte();
     utilities = new UtilitiesL();
     iva       = 13;
     CargarCategoriaProducto();
     CargarCategoriaServicio();
     CargarNombreProducto();
     CargarNombreServicio();
     Limpiar();
 }
Exemple #3
0
 public WindowBuilder(UsuarioE u)
 {
     InitializeComponent();
     pl        = new PedidoL();
     servicios = new LinkedList <PedidoSoloServicioServicioE>();
     this.u    = u;
     prl       = new LProducto();
     sel       = new LServicio();
     tl        = new LTransporte();
     utilities = new UtilitiesL();
     lblCodigoConstructorT.Text = u.Codigo;
     lblNombreConstructorT.Text = u.Nombre;
     CargarCategoria();
     CargarServicios();
     Limpiar();
     Activar(false);
     dgvCarritoCompras.Columns[0].ValueType = typeof(ServicioE);
     dgvPedidos.Columns[0].ValueType        = typeof(object);
     CargarPedidos();
 }
 public WindowSeller(UsuarioE u)
 {
     InitializeComponent();
     pl        = new PedidoL();
     productos = new LinkedList <PedidoCompletoProductoE>();
     servicios = new LinkedList <PedidoCompletoServicioE>();
     this.u    = u;
     prl       = new LProducto();
     sel       = new LServicio();
     tl        = new LTransporte();
     utilities = new UtilitiesL();
     lblCodigoVendedorT.Text = u.Codigo;
     lblNombreVendedorT.Text = u.Nombre;
     CargarCategoriaProducto();
     CargarCategoriaServicio();
     CargarProductos();
     CargarServicios();
     Limpiar();
     Activar(false);
     dgvCarritoComprasProductos.Columns[0].ValueType = typeof(ProductoE);
     dgvCarritoComprasServicios.Columns[0].ValueType = typeof(ServicioE);
 }