Yes but when user click OK icon form is closed and DialogResult.OK is
returned, but I wnat to control when user click OK and make some data
verifications.
How can I do it?
Yes but when user click OK icon form is closed and DialogResult.OK is
returned, but I wnat to control when user click OK and make some data
verifications.
How can I do it?
The ok button at the top right corner of the form does not have a click event associated with it (you cannot access it directly from your code) which is why you need to do any processing u have in the closing and closed events for that form.
event associated with it (you cannot access it directly from your code)
which is why you need to do any processing u have in the closing and closed
events for that form.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.