private void Find() { RichTextBoxFinds options = new RichTextBoxFinds(); if (chkWholeWords.Checked) { options = options | RichTextBoxFinds.WholeWord; } if (chkCase.Checked) { options = options | RichTextBoxFinds.MatchCase; } if (rdoUp.Checked) { options = options | RichTextBoxFinds.Reverse; } parent.Find(txtFind.Text, options); }