我想在MessageBox上显示3个按钮。我找到了Guide.BeginShowMessageBox方法,但它没有使用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);
谢谢, LACI