Is it possible to produce a Windows Dialog form that can be used like
MessageBox.ShowDialog(), but returns a custom object type
e.g.
myObject = MyForm.ShowDialog();
rather than
// This method doesn't return the object either and ShowDialog can't be
// overriden to make it behave like that
MyForm frmMyForm = new MyForm();
frmMyForm.ShowDialog();
Can anyone suggest any soloution to this?
Thanks.