更改messageBox.show()的字体 [英] change font for messageBox.show()

查看:879
本文介绍了更改messageBox.show()的字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友
如何在WinForms中更改messageBox.show()的字体?
当前字体是Arial.i我想为用户编写带有Tahoma字体的消息.
谢谢

Dear friends
How can i change Font for messageBox.show() in WinForms?
current font is Arial.i want to write message with Tahoma font for users.
thanks

推荐答案

您不能执行此操作,因为消息框固有地使用OS字体样式.
您始终可以创建自己的自定义消息框,并在整个应用程序中使用它-自定义消息框 [ ^ ].
You cannot do this as the message box inherently uses the OS font style.
You can always create your own custom message box and used it across the application - A Custom Message Box[^].


此链接可能会为您提供帮助.点击此处

无论如何,祝你好运.
This link may help you.Click Here

Anyway best of luck.


点击此链接
http://www.windowsdevelop.com/windows- forms-general/change-font-size-for-messageboxshow-dialogs-62092.shtml [
click this link
http://www.windowsdevelop.com/windows-forms-general/change-font-size-for-messageboxshow-dialogs-62092.shtml[^]
this link really help u..


Regard
Sham
:)


这篇关于更改messageBox.show()的字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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