Beispiel #1
0
 protected void btnNovo_Click(object sender, EventArgs e)
 {
     TxtCliente.Text = "";
     TxtHorario.Text = "";
     IdH.Value       = "0";
     TxtCliente.Focus();
 }
 private void ToolstNuevo_Click(object sender, EventArgs e)
 {
     Limpiar(TxtCliente, TxtProducto, TxtCantidad);
     errorProvider1.Clear();
     Toolstborrar.Enabled = false;
     dgvDetalleF.Rows.Clear();
     LimpiarLbl(LblTotal, LblPrecio);
     LblTotaApagar.Text = "0.00";
     TxtCliente.Focus();
 }
Beispiel #3
0
 private void limparObjetos()
 {
     TxtCliente.Clear();
     TxtDocumento.Clear();
     TxtLimite.Clear();
     CbEstado.Text = "";
     TxtCodigo.Clear();
     MtxtDataAbertura.Clear();
     GC.Collect();
     TxtCliente.Focus();
 }