.NET 消息框中的自定义按钮标题? [英] Custom button captions in .NET messagebox?

查看:24
本文介绍了.NET 消息框中的自定义按钮标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一种简单的方法可以在 VB.NET 中显示带有自定义按钮标题的消息框?我遇到了 在托管 C++ 中创建带有自定义按钮文本的 MessageBox 的简单方法是什么?,在 Stack Overflow 档案中,但它用于 托管 C++.

Is there an easy way to display a messagebox in VB.NET with custom button captions? I came across What is an easy way to create a MessageBox with custom button text in Managed C++?, in the Stack Overflow archives, but it's for Managed C++.

推荐答案

没有方法可以访问或重定向 Messagebox 的默认按钮文本.

No there is no method to access or redirect the Messagebox's default button text.

唯一的方法是编写自己的代码或使用互联网上的许多免费代码之一:

The only way to do this is to code your own or just use one of many free ones from the internet:

免费 MsgBoxGo!

这篇关于.NET 消息框中的自定义按钮标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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