private void searchItem_Click(object sender, EventArgs e)
 {
   frmFindSettings dlg = new frmFindSettings();
   if (dlg.ShowDialog() != DialogResult.OK)
     return;
   Find(dlg.SearchString, dlg.Options);
 }
Beispiel #2
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);
        }
Beispiel #4
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);
 }