EventArgs for SearchPanel.SearchOptionsChanged event.
Inheritance: System.EventArgs
示例#1
0
 /// <summary>
 /// Raises the <see cref="SearchPanel.SearchOptionsChanged" /> event.
 /// </summary>
 protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
 {
     if (SearchOptionsChanged != null)
     {
         SearchOptionsChanged(this, e);
     }
 }
示例#2
0
 void SearchOptionsChanged(object sender, SearchOptionsChangedEventArgs e)
 {
     SearchOptions.CurrentFindPattern = e.SearchPattern;
     SearchOptions.MatchCase = e.MatchCase;
     SearchOptions.MatchWholeWord = e.WholeWords;
     SearchOptions.SearchMode = e.UseRegex ? SearchMode.RegEx : SearchMode.Normal;
 }
示例#3
0
 /// <summary>
 /// Raises the <see cref="SearchPanel.SearchOptionsChanged" /> event.
 /// </summary>
 protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
 {
     SearchOptionsChanged?.Invoke(this, e);
 }
示例#4
0
 /// <summary>
 /// Raises the <see cref="SearchPanel.SearchOptionsChanged" /> event.
 /// </summary>
 protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
 {
     if (SearchOptionsChanged != null) {
         SearchOptionsChanged(this, e);
     }
 }
示例#5
0
 void search_SearchOptionsChanged(object sender, SearchOptionsChangedEventArgs e)
 {
     searchPanel = sender as SearchPanel;
 }