我想实现这个代码:WPF8消息框
Dim result As MessageBoxResult = _
MessageBox.Show("Would you like to see the simple version?", _
"MessageBox Example", MessageBoxButton.OKCancel)
If (result = MessageBoxResult.OK) Then
MessageBox.Show("No caption, one button.")
End If
但得到一个错误:类型“MessageBoxResult”为什么发生没有定义 ?
我使用的是:微软的Visual Studio 2013专业版12.0.30501.00更新2 Microsoft .NET Framework版本4.5.51641
我编辑了自己的冠军。请参阅:“[应该在其标题中包含”标签“](http://meta.stackexchange.com/questions/19190/)”,其中的共识是“不,他们不应该”。 – 2014-10-03 00:53:34
我看到了,谢谢 – 2014-10-03 12:46:13