C#着色按摩盒 [英] coloring massage box in C#

查看:59
本文介绍了C#着色按摩盒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用一个消息框显示一些消息,但我想用新行显示每条消息并使用不同的颜色。此消息包含字符串和变量。例如:

I want to show some messages using one message box but I want to show each message in new line and with different color. this message contains string and variable. for example:

"员工人数为12000"  12000是我的Windows窗体应用程序中的变量值。我怎么能这样做?

"the number of employee is 12000"  that 12000 is the value of variable in my windows form application. how can I do it?

谢谢。

推荐答案

我不熟悉你能做的一切在VBA中,但即使可以这样做,也可以更容易地创建自己用作消息框的窗口(窗体或其他)。
I am not familiar with everything that you can do in VBA but even if it is possible to do it, it will be easier to just create your own window (form or whatever) that you use as a message box.


这篇关于C#着色按摩盒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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