简体   繁体   English

是否可以在VB.net中更改MsgBox的界面

[英]Is it possible to change the interface of a MsgBox in VB.net

Im trying to make an instruction msgbox and i want to make it look nice i want it to look like a Dialog Cloud. 我正在尝试制作一条指令msgbox,我想使其看起来更好,我希望它看起来像一个对话框云。 Should i use a msgbox or other tools ? 我应该使用msgbox还是其他工具? any suggestions and answers would be awesome ! 任何建议和答案都将很棒!

You can use the successor of conventional message boxes : TaskDialog 您可以使用常规消息框的后续类: TaskDialog

Here is a showcase of what customization is possible with them: 这里展示了使用它们可以进行哪些定制:

https://msdn.microsoft.com/en-us/library/windows/desktop/bb760441(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/bb760441(v=vs.85).aspx

It is accessible through .NET using the Windows Api Code Pack : 可以使用Windows Api代码包通过.NET访问它:

https://www.nuget.org/packages/WindowsAPICodePack-Shell/ https://www.nuget.org/packages/WindowsAPICodePack-Shell/

If it is not sufficient then as others said, code your own message box :D 如果这还不够,那么请按照其他人的说法,编写您自己的消息框:D

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM