Пример #1
0
        private void FindAndReplaceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FindAndReplaceForm findAndReplaceForm = new FindAndReplaceForm();

            findAndReplaceForm.ShowDialog();

            FindAndReplaceAll(findAndReplaceForm.Find, findAndReplaceForm.Replace);
            TextEditorBox_TextChanged(null, EventArgs.Empty);
        }
Пример #2
0
        private void findAndReplaceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string             find;
            string             replace;
            FindAndReplaceForm findAndReplaceForm = new FindAndReplaceForm();

            findAndReplaceForm.ShowDialog();

            FindAndReplaceAll(findAndReplaceForm.find, findAndReplaceForm.replace);
        }