For you seasoned vets this may be a no brainer but for us web guys this was information that was nowhere to be found on the net. Say I have a form and I want to open another and have it return a dialogresult back to the opening form. This is done by like this:
DialogResult = DialogResult.Ok - or - DialogResult = DialogResult.Cancel
DialogResult = DialogResult.Ok
- or -
DialogResult = DialogResult.Cancel
Hope this helps someone.