【发布时间】:2011-07-05 16:29:30
【问题描述】:
我只需要在 winform 应用程序的 RichTextBox 中选择粗体文本,然后将其括在括号内:
例如:The <strong>Rollup Action</strong> element describes the desired action that should be applied to the cluster activity that defines the <strong>Rollup Rule</strong>。
粗体文本将变为:<br>[<strong>Rollup Action</strong>] [<strong>Rollup Rule</strong>]。谢谢。
【问题讨论】:
-
winforms,对不起,我没有提到。
-
在结果文本中,您只需要带括号的粗体文本或所有文本,只需将括号添加到粗体?
-
我需要在粗体部分添加括号的所有文本。
标签: c# winforms richtextbox richtext