private void CheckPaymentDetail() { if (PaymentDetail.Trim().Length > 0) { PaymentDetailCheckingStatus = 1; } else { PaymentDetailCheckingStatus = -1; } Invalidate("PaymentDetailCheckingStatus"); }