예제 #1
0
        public frmConsultarAlmacen(frmPedido frm)
        {
            InitializeComponent();

            this.frmpedido = frm;
            origenform = frm.Name;
            DataGridView1.DataSource = alma.ObtenerAlmacenes();
            DataGridView1.AllowUserToAddRows = false;
        }
        public frmConsultarProducto(frmPedido frm)
        {
            InitializeComponent();

            this.frmpedido = frm;
            origen = frm.Name;
            dataGridView1.DataSource = pb.ObtenerProductos();
            dataGridView1.AllowUserToAddRows = false;
        }
예제 #3
0
        public frmConsultarVendedor(frmPedido frm)
        {
            InitializeComponent();

            this.frmpedido = frm;
            origenform = frm.Name;

              DataGridView1.DataSource = cbl.getvendedores("");
              DataGridView1.AllowUserToAddRows = false;
        }
        public frmConsultarDireccion(frmPedido frm,int cod)
        {
            InitializeComponent();

            this.frmpedido = frm;
            origenform = frm.Name;

              DataGridView1.DataSource = cbl.getdirecciones(cod,"");
            codigocli = cod;
              DataGridView1.AllowUserToAddRows = false;
        }