c# - (.net) Configuration Settings basic question -


I am obliging the text value of the text box in a variable in my configuration file I only input from this text box I think if it is larger than 1. It's okay to write what I'm doing in the box whatever I want in the box, and let me save the settings after I call it is a verification function problem that my binding variable update in the settings class There is a possibility that the text box is being edited, and it is a behavior that I want to leave. How can I do this?

You can use on valeting events to verify your verification code , And set the e.Cancel to true if the verification is not valid (and inform any other way, possibly a MessageBox ).


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -