Documentation for this section has not yet been entered.
When a form is shown as a dialog box using the Form.ShowDialog method and one of its buttons is clicked, the button's IButtonControl.DialogResult value is assigned to the form's Form.DialogResult property.