public frmConsultarAlmacen(frmUpComprobante frm)
        {
            InitializeComponent();

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

            this.frmUpComprobante = frm;

            origen = frm.Name;
            dataGridView1.DataSource = pb.ObtenerProductos_SERV();
            dataGridView1.AllowUserToAddRows = false;
        }
        public frmConsultarDireccion(frmUpComprobante frm, int cod)
        {
            InitializeComponent();

            this.frmUpComprobante = frm;
            origenform = frm.Name;

            DataGridView1.DataSource = cbl.getdirecciones(cod, "");
            codigocli = cod;
            DataGridView1.AllowUserToAddRows = false;
        }
        public frmConsultarVendedor(frmUpComprobante frm)
        {
            InitializeComponent();

            this.frmUpComprobante = frm;
            origenform = frm.Name;

            DataGridView1.DataSource = cbl.getvendedores("");
            DataGridView1.AllowUserToAddRows = false;
        }