Tag Archives: value

Let the user select the ScrollBar maximum in C#

You would think that allowing the user to select the ScrollBar maximum would be the default behavior. Unfortunately, that’s not the case. The behavior of the VScrollBar and HScrollBar controls is largely determined by their Value, Minimum, Maximum, SmallChange, and … Continue reading

Posted in controls | Tagged , , , , , , , , , , , , , , , , | 2 Comments

Check text data type in C#

This example shows how to use the TryParse method to check text data type. Each data type (int, float, bool, etc.) has a TryParse method attempts to parse a string and returns true if it is successful. You can use … Continue reading

Posted in strings, variables | Tagged , , , , , , , , , , , , , , , , , , , , | Leave a comment