- Joined
- Oct 15, 2008
- Messages
- 2,898
- Reaction score
- 1,129
Solved previous problem, now I have another, so instead of making a new thread I'll post it here.
These are text fields. How do I make it so
I've tried to look on google, but keep getting things that are irrelevant to what I'm trying to do. Anyone here know C# really good and can help?
PHP:
private void userLevel_TextChanged(object sender, EventArgs e) {
}
private void userCurrentExp_TextChanged_1(object sender, EventArgs e) {
}
These are text fields. How do I make it so
- userLevel and userCurrentExp can only have whole numbers typed in the fields
- userLevel can only have a allowed range of 1-199 typed in the field
- Both can not have a negative value
I've tried to look on google, but keep getting things that are irrelevant to what I'm trying to do. Anyone here know C# really good and can help?
Last edited: