示例#1
0
 public ClaListaCategorias()
 {
     categorias = new List <ClaCategoria>();
     conexion   = new ClaConexion();
     tabla      = new DataTable();
     Cargar_Datos();
 }
示例#2
0
 public ClaListaProveedores()
 {
     proveedores = new List <ClaProveedor>();
     conexion    = new ClaConexion();
     tabla       = new DataTable();
     Cargar_Datos();
 }
 public ClaListaProductos()
 {
     productos = new List <ClaProducto>();
     conexion  = new ClaConexion();
     tabla     = new DataTable();
     Cargar_Datos();
 }
示例#4
0
 public ClaListaInventario()
 {
     inventario = new List <ClaInventario>();
     conexion   = new ClaConexion();
     tabla      = new DataTable();
     Cargar_Datos();
 }
 public ClaListaVentas()
 {
     ventas   = new List <ClaVenta>();
     conexion = new ClaConexion();
     tabla    = new DataTable();
     Cargar_Datos();
     //Cargar_DatosEncabezado();
     //Cargar_DatosDetalle();
 }
 public ClaProveedor(int pro, string rt, string no, string te, string di, string co)
 {
     idProveedor       = pro;
     RTNProveedor      = rt;
     nombreProveedor   = no;
     telefono          = te;
     direccion         = di;
     correoElectronico = co;
     conexion          = new ClaConexion();
 }
 public ClaProveedor()
 {
     idProveedor       = 0;
     RTNProveedor      = "00000000000000";
     nombreProveedor   = "";
     telefono          = "00000000000";
     direccion         = "";
     correoElectronico = "";
     conexion          = new ClaConexion();
 }
示例#8
0
 public ClaVenta()
 {
     encabezado    = 25266;
     idProducto    = string.Empty;
     cliente       = "";
     cantidad      = 0;
     precio        = 0;
     impuesto      = 0;
     subtotal      = 0;
     total         = 0;
     idDetalle     = 0;
     numeroFactura = 0;
     fecha         = DateTime.Today;
     conexion      = new ClaConexion();
 }
        public ClaProducto(string n, string m, string a)
        {
            idProducto = string.Empty;
            nombre     = n;
            categoria  = 0;
            marca      = m;
            año        = a;
            proveedor  = 0;

            existencia   = 0;
            precioCompra = 0;
            precioVenta  = 0;

            conexion = new ClaConexion();
        }
        public ClaProducto()
        {
            idProducto = string.Empty;
            nombre     = string.Empty;
            categoria  = 0;
            marca      = string.Empty;
            año        = "0000";
            proveedor  = 0;

            existencia   = 0;
            precioCompra = 0;
            precioVenta  = 0;

            conexion = new ClaConexion();
        }
示例#11
0
        public ClaVenta(int Encabezado, string IDProducto, string Cliente, int Cantidad, decimal Precio, decimal Impuesto, decimal Subtotal, decimal Total, int IdDetalle,
                        int Factura, DateTime Fecha)
        {
            encabezado    = Encabezado;
            idProducto    = IDProducto;
            cliente       = Cliente;
            cantidad      = Cantidad;
            precio        = Precio;
            impuesto      = Impuesto;
            subtotal      = Subtotal;
            total         = Total;
            idDetalle     = IdDetalle;
            numeroFactura = Factura;
            fecha         = Fecha;


            conexion = new ClaConexion();
        }