This demo shows you how to make a dialog box that returns a custom clas instance instead of the boring DialogResult
Look at the code for the button on the main form and the code for the Shadowed ShowDialog() function in PersonCreatorDialog.vb.
Enjoy.