Exemple #1
0
 public frmVenta()
 {
     ventaActual = new venta();
     InitializeComponent();
 }
Exemple #2
0
 private void btnNuevaVenta_Click(object sender, EventArgs e)
 {
     ventaActual = new venta();
     this.lblCliente.Text = "Cliente : No seleccionado";
     this.lblTotal.Text = "Total: $ 00.00";
     this.lblSubTotal.Text = "Sub-total: $ 00.00";
     dgvProductos.RowCount = 0;
     dgvProductos.Refresh();
     this.btnAgregarCliente.Enabled = true;
     this.btnAddProd.Enabled = true;
     this.btnFinalizarVenta.Enabled = true;
     this.btnFactura.Enabled = false;
     this.btnNuevaVenta.Enabled = false;
     this.cbEnvio.SelectedIndex = -1;
 }