Posts Tagged ‘Cancel’
DialogResult and the Cancel button
Cancel buttons can be an important part of working with forms. If no DialogResult is set, the form will close but the calling code will continue unhindered. To work properly, both the OK and Cancel actions should be set. First, make sure to be getting a result from the form: For cancel or close, the…
Read More