Example #1
0
        private void searchItem_Click(object sender, EventArgs e)
        {
            frmFindSettings dlg = new frmFindSettings();

            if (dlg.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            Find(dlg.SearchString, dlg.Options);
        }
        private void searchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmFindSettings dlg = new frmFindSettings();

            if (dlg.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            RingBufferedRichTextBox rb = richTextBoxMP;

            if (richTextBoxTvEngine.Focused)
            {
                rb = richTextBoxTvEngine;
            }
            rb.Find(dlg.SearchString, dlg.Options);
        }
Example #3
0
 private void searchToolStripMenuItem_Click(object sender, EventArgs e)
 {
   frmFindSettings dlg = new frmFindSettings();
   if (dlg.ShowDialog() != DialogResult.OK)
     return;
   RingBufferedRichTextBox rb = richTextBoxMP;
   if (richTextBoxTvEngine.Focused)
     rb = richTextBoxTvEngine;
   rb.Find(dlg.SearchString, dlg.Options);
 }
 private void searchItem_Click(object sender, EventArgs e)
 {
   frmFindSettings dlg = new frmFindSettings();
   if (dlg.ShowDialog() != DialogResult.OK)
     return;
   Find(dlg.SearchString, dlg.Options);
 }