Änderungen validatoren und GUIDesign
This commit is contained in:
@@ -35,6 +35,9 @@ Partial Class ForgotPW
|
||||
Dim isCustomeridright As Boolean = False
|
||||
Dim isemailright As Boolean = False
|
||||
Dim UserID As String = String.Empty
|
||||
CustomerIDrequired.Validate()
|
||||
valreqtxtusername.Validate()
|
||||
valreqtxtEmail.Validate()
|
||||
If String.IsNullOrEmpty(txtEmail.Text) = False And String.IsNullOrEmpty(txt_Username.Text) = False And String.IsNullOrEmpty(txt_CustomerID.Text) = False And String.IsNullOrEmpty(txtEmail_M.Text) = True And String.IsNullOrEmpty(txt_Username_M.Text) = True And String.IsNullOrEmpty(txt_CustomerID_M.Text) = True Then
|
||||
valreqtxtusername.Enabled = True
|
||||
valreqtxtEmail.Enabled = True
|
||||
@@ -273,6 +276,9 @@ Partial Class ForgotPW
|
||||
Dim isusernameright As Boolean = False
|
||||
Dim isuserIDright As Boolean = False
|
||||
Dim isuserEmailright As Boolean = False
|
||||
CustomerID_M_required.Validate()
|
||||
valreqtxtusername_M.Validate()
|
||||
valid_getNumber_M_Input.Validate()
|
||||
'Mobil
|
||||
If String.IsNullOrEmpty(txtEmail_M.Text) = False And String.IsNullOrEmpty(txt_Username_M.Text) = False And String.IsNullOrEmpty(txt_CustomerID_M.Text) = False And String.IsNullOrEmpty(txtEmail.Text) = True And String.IsNullOrEmpty(txt_Username.Text) = True And String.IsNullOrEmpty(txt_CustomerID.Text) = True Then
|
||||
valreqtxtusername.Enabled = False
|
||||
|
||||
Reference in New Issue
Block a user