0
我想在MessageBox上顯示3個按鈕。我找到了Guide.BeginShowMessageBox方法,但它不能使用3個按鈕。這裏是我的代碼:如何在MessageBox上顯示3個按鈕?
Guide.BeginShowMessageBox("Info", "This is a test messsage.",
new List<string> { "OK", "Retry", "Cancel" }, 0, MessageBoxIcon.Warning,
asyncResult =>
{
int? returned = Guide.EndShowMessageBox(asyncResult);
Debug.WriteLine(returned.ToString());
}, null);
感謝, 拉奇
是的,我在WP7上...... – laszlokiss88
然後你不能有三個按鈕。 –
我創建了一個動畫彈出框,與原始消息框非常相似。看來,這個問題沒有另一種解決方案。 – laszlokiss88