我想實現這個代碼: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