要在消息框的标题中添加图标? [英] To add an icon to the title of the message box?

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

问题描述

很高兴见到你



要在消息框的标题上添加一个图标吗?



谢谢你

Nice to meet you

To add an icon to the title of the message box?

Thank you

推荐答案

你好。你必须创建一个继承自Window类的自定义类。

你班上可以添加一些属性for Icon(typeOf(ImageSource)),Message等

然后从Constructor中设置所有这些。(我的回复基于wpf)

祝你好运
Hi.you must Create a custome class that inherit from Window class.
in your class you can add some Property for Icon(typeOf(ImageSource)),Message,etc
Then set all of these from Constructor.(my response is based on wpf)
Good Luck


这篇关于要在消息框的标题中添加图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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