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; }
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; }