C# 中richTextBox1里实现查找全字匹配功能如何实现? C# 中richTextBox1里实现查找全字匹配功能如何实现?且不能有重复的。有重复的提示重复。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Font f=new Font("Verdana", 8F, FontStyle.Italic, GraphicsUnit.Point);string str="";if (richTextBox1.Find(str)>0){int pos=richTextBox1.Find(str);richTextBox1.SelectionStart=pos;richTextBox1.SelectionLength=str.Length; richTextBox1.SelectionFont=f;richTextBox1.SelectionColor=Color.Red;} http://topic.csdn.net/u/20101223/17/7231e41d-49e5-4e32-ae8a-af574b7be3dc.html 用什么方法监控sql 2005 table数据有没有被吃掉? WinForm 设置pictureBox控件的透明度? 值类型DateTime 问.NET的AOP实现 关于文件上传的问题 C#问题 如何判断文件被独占打开了,和查询独占打开的相关信息 刚从培训机构毕业,在小公司做比较小的个人项目是不是比做中型或大型项目成长慢??? 关于网页html编码的问题, C#中怎么调用dll中的枚举类型参数 加菲猫,帮我看看这个程序什么问题! windows服务 post数据问题(急!急!)
string str="";
if (richTextBox1.Find(str)>0)
{
int pos=richTextBox1.Find(str);
richTextBox1.SelectionStart=pos;
richTextBox1.SelectionLength=str.Length;
richTextBox1.SelectionFont=f;
richTextBox1.SelectionColor=Color.Red;
}