Esempio n. 1
0
 /// <summary>
 /// Callback called from frmFind on button "Find" / "Replace"
 /// </summary>
 private string OnFindCallback(FindParam i_Param)
 {
     mi_FindParam = i_Param;
     return FindReplace(false, false, !i_Param.b_Replace);
 }
Esempio n. 2
0
 /// <summary>
 /// If this function is called from outside the class it seraches the first occurrence of s_Text and selects it
 /// </summary>
 public void SearchAndSelectText(FindParam i_Param)
 {
     SelectionLength = 0;
     SelectionStart  = 0;
     mi_FindParam    = i_Param;
     FindReplace(false, false, false);
 }