您可以修改MessageBox按钮的文本吗? [英] Can you modify the text of MessageBox buttons?

查看:556
本文介绍了您可以修改MessageBox按钮的文本吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用MessageBox.Show方法,可以更改按钮的文本吗?

Using the MessageBox.Show method, is it possible to change the text of the buttons? Instead of 'OK' and 'Cancel' can you have 'Confirm' or 'Deny'?

推荐答案

什么都可以,而不是"OK"和"Cancel"? (我不知道这是如何正确的)可以通过确定"和取消"来回答.您不同意吗?回答是",否".

有希望.是和否即将到来.等一下.

如果您需要更多,看起来就得自己动手.

Anything (how this got right justified I don't know) can be answered with OK and Cancel.  Don't you agree?  Answer OK for yes and Cancel for no.

There is hope.  Yes and No is coming.  Wait for it.

If you need more it looks like you have to roll your own.


这篇关于您可以修改MessageBox按钮的文本吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆