private void Reset() { TxTPedidoID.Text = ""; TxTUsuarioID.Text = ""; TxTNombreCliente.Text = ""; /* txtPrecioArticulo.Text = ""; * txtCantidadArticulo.Text = ""; * cont_filas = 0; * lbTotal.Text = "0"; * lbIva.Text = "0"; * lbTotalIVa.Text = "0"; * total = 0; * totalConIva = 0; * totalIva = 0; * * dgvLinped.Rows.Clear();*/ TxTUsuarioID.Focus();; }
private void Reset() { TxTPedidoID.Text = ""; TxTUsuarioID.Text = ""; TxTNombreCliente.Text = ""; TxTFecha.Text = ""; lbIdProducto.Content = ""; lbNombreProducto.Content = ""; lbPrecio.Content = ""; cantdidadArt.Value = 0; num_fila = 1; lbSubTotal.Content = "0"; lbIva.Content = "0"; lbIva.Content = "0"; total = 0; totalConIva = 0; totalIva = 0; listaVentas.Items.Clear(); TxTUsuarioID.Focus();; }