![]() So if you had five TextBox controls on a form, two of them can not be empty, set them up via AllowEmptyValue and IsRequiredMessage, the remaining TextBox controls will not be affected. The ErrorProvider is setup in Sub InitializeComponent that is shown to the right of a TextBox where you have set AllowEmptyValue to False and IsRequiredMessage. IExtenderProvider Interface as shown below. One thought is to create a class that extends all textBox controls via
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |