WebBrowser或RichtextBox控件中的html代码 [英] html code in WebBrowser or RichtextBox control

查看:117
本文介绍了WebBrowser或RichtextBox控件中的html代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想以RichTextBox或Webbrowser或其他形式的Windows应用程序形式以html编码显示somme文本数据.我该怎么办?
(我不想在richtextbox中看到源代码,但在文本中使用粗体,斜体等).

Thank

Hi all,

I wanna to show somme text data with html encoding in a Windows application form in richtextbox or webbrowser or other. How can I do this?
(I don''t want to see the source code in richtextbox but the text in bold, italic, ect...)

thank

推荐答案

只需使用WebBrowser控件即可.在CP上有几篇文章演示了如何执行此操作.
Just use a WebBrowser control. There are several articles here on CP that demonstrate how to go about doing this.


这篇关于WebBrowser或RichtextBox控件中的html代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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