关于RichTextBoxFinds.Reverse
public int found(string str, int beg){
cf = (ChildForm)this.ActiveMdiChild;
try
{
int len = str.Length;
beg = cf.richTextBox1.Find(str, beg, RichTextBoxFinds.None);
cf.richTextBox1.Select(beg, len);
beg++;
}
catch (Exception err)
{
if (beg == -1)
beg = 1;
}
return beg;
}
这段代码是做成记事本的向下查找的代码,有谁可以告诉我如果是向上查找呢,应该怎么写?