I've got a C# form that is going to be displayed as a Modal Dialog from another form. In the event handler for the "OK" button, I validate the other controls on the form, and do some work.<BR><BR>In ...
This can be done using the below given steps<BR><BR>(1) Do set your accept and cancel buttons on the form properties<BR><BR>(2) Within the event handler of the OK button simply set the ...