Exemple #1
0
 void replaceForm_ReplaceClick(object sender, ReplaceEventArgs e)
 {
     TextBoxHelper.Replace(GetActiveTextBox, e.template, e.newTemplate, e.matchCase);
     if (string.IsNullOrEmpty(GetActiveTextBox.SelectedText))
     {
         form_FindClick(sender, new FindEventArgs(e.template, e.matchCase, true));
     }
 }
Exemple #2
0
 void replaceForm_ReplaceAllClick(object sender, ReplaceEventArgs e)
 {
     TextBoxHelper.ReplaceAll(GetActiveTextBox, e.template, e.newTemplate, e.matchCase);
 }