ReplaceAll() public method

public ReplaceAll ( string dir, string filter, bool regex, bool matchcase, string find, string replace, bool subdirs ) : void
dir string
filter string
regex bool
matchcase bool
find string
replace string
subdirs bool
return void
Esempio n. 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     var results = new SearchResults(Globals.Ynote);
     results.Show(Globals.Ynote.Panel, DockState.DockBottom);
     results.ReplaceAll(tbdir.Text, tbFilter.Text, cbRegex.Checked, cbCase.Checked, tbFind.Text, tbReplace.Text,
         cbsubdir.Checked);
     Close();
 }
Esempio n. 2
0
        private void button2_Click(object sender, EventArgs e)
        {
            var results = new SearchResults(Globals.Ynote);

            results.Show(Globals.Ynote.Panel, DockState.DockBottom);
            results.ReplaceAll(tbdir.Text, tbFilter.Text, cbRegex.Checked, cbCase.Checked, tbFind.Text, tbReplace.Text,
                               cbsubdir.Checked);
            Close();
        }