Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If (Integer.TryParse(txtPanels.Text < 1, c) Or Integer.TryParse(txtPanels.Text > 100, c)) Then
- lblStatus.Text = "Please Enter a correct amount of panels (1- 100)"
- End If
- If Not IsNumeric(txtDepo.Text) Then
- lblStatus.Text = ("Invalid Deposit")
- Return
- End If
- If (txtPanels.Text = "" Or IsInputChar(txtPanels.Text)) Then
- lblStatus.Text = ("Please Enter a correct amount of panels (1- 100)")
- End If
- If Not IsNumeric(txtPanels.Text) Then
- lblStatus.Text = ("Please Enter a correct amount of panels (1- 100)")
- Return
- End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement