private void SetForm()
 {
     detailRep.Clear();
     pagosRep.Clear();
     gridDetalle.DataSource = null;
     if (!CheckClienteContado())
     {
         DisableButtons();
     }
     txtConsecutivo.Text    = GetConsecutivo(false);
     txtSubTotal.Text       = "0";
     txtTotalDescuento.Text = "0";
     txtTotalImpuestos.Text = "0";
     txtGrandTotal.Text     = "0";
     lblMensaje.Text        = "";
 }