Beispiel #1
0
        private void findAndReplaceRawToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TabPage tb = tabControl1.SelectedTab;

            if (tb as EditorTabPage == null)
            {
                return;
            }
            EditorTabPage etb = tb as EditorTabPage;

            findReplaceDialog.SetFocusOnSearchTextField();
            findReplaceDialog.Text += " Raw";
            if (findReplaceDialog.ShowDialog() == DialogResult.OK)
            {
                etb.FindAndReplaceRaw(findReplaceDialog.Search, findReplaceDialog.Replacement, findReplaceDialog.Options);
            }
        }