Ch 7 MessageBoxOptions
I ran into the same problem on chapter 7, page 214/215. The sample code would work fine, but the code would not work in the version I created, even though the code matched.
I solved it by making these changes...
Instead of MessageBoxButtons.OKCancel I changed it to...
Instead of Windows.Forms.DialogResult.OK I changed it to...