Esempio n. 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);
 }
Esempio n. 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);
        }
Esempio n. 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);
 }