I have a button that when clicked, a dialog box opens up with various controls on it such as radio buttons and text boxes. If OK then the values in that dialog box is passed ba
Somewhere in the code that disposes of the dialog you can also explicitly set the result. For example, you could put the following code in a button click event handler.