I want to control domainUpDown as spinner to control value from 0 to 800 so that if i hit its upper arrow it adds 1 into current value…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As Hans Passant says, the NumericUpDown is your best choice. Set the minimum value to 0, which it should be already as the default, and the maximum to 800. You can access the number by using the “value” property on the NumericUpDown object.