Beispiel #1
0
        private void TxtOrdenVenta_TextChanged(object sender, EventArgs e)
        {
            RNVenta compra = RNVenta.ObtenerVenta(txtOrdenVenta.Text, dataGridVentas);

            lblNombre.Text = "Nombre Cliente: " + compra.NOMBRE;
            lblOrden.Text  = "Orden de Compra: " + compra.CVE_DOC;
            lblRFC.Text    = "Importe Total: " + compra.IMPORTE.ToString();
            cliente        = compra.NOMBRE;
            cveOrden       = compra.CVE_DOC;
            importe        = compra.IMPORTE.ToString();
        }
Beispiel #2
0
 private void FormPartidas_Load(object sender, EventArgs e)
 {
     if (etiqueta == "Compras")
     {
         lblPartida.Text = "Ordenes de Compra";
         RNCompra.ObtenerCompras(dataGridOrdenes);
     }
     else if (etiqueta == "Ventas")
     {
         lblPartida.Text = "Ordenes de Venta";
         RNVenta.ObtenerVentas(dataGridOrdenes);
     }
 }