Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在为各种深奥的语言编写 IDE/解释器/调试器。我希望能够在不同的地方(取决于代码流)为调试器一次加粗一个字符。为此,我正在使用 WinForms。所以简而言之,我需要能够将文本的一个字符加粗并将其发送到标签。提前致谢。
您应该必须使用GDI API绘制/绘制文本- 处理绘制事件或覆盖 onPaint()。