Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If hoursValue.ToString <= "0" Then _
- MessageBox.Show("Hours must be greater than zero" & _
- ControlChars.NewLine & "and less than or equal to 168." & _
- ControlChars.NewLine & ControlChars.NewLine & _
- "Do you want to quit?" & MessageBoxIcon.Exclamation & _
- MessageBoxButtons.YesNo & MessageBoxDefaultButton.Button2) _
- Else If hoursValue.ToString > "168" Then _
- MessageBox.Show("Hours must be greater than zero" & _
- ControlChars.NewLine & "and less than or equal to 168." & _
- ControlChars.NewLine & ControlChars.NewLine & _
- "Do you want to quit?" _
- & MessageBoxButtons.YesNo & MessageBoxIcon.Exclamation & _
- MessageBoxDefaultButton.Button2)
Add Comment
Please, Sign In to add comment