EventArgs for SearchPanel.SearchOptionsChanged event.
Inheritance: System.EventArgs
Beispiel #1
0
 /// <summary>
 /// Raises the <see cref="SearchPanel.SearchOptionsChanged" /> event.
 /// </summary>
 protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
 {
     if (SearchOptionsChanged != null)
     {
         SearchOptionsChanged(this, e);
     }
 }
 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;
 }
Beispiel #3
0
 /// <summary>
 /// Raises the <see cref="SearchPanel.SearchOptionsChanged" /> event.
 /// </summary>
 protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
 {
     SearchOptionsChanged?.Invoke(this, e);
 }
Beispiel #4
0
 /// <summary>
 /// Raises the <see cref="SearchPanel.SearchOptionsChanged" /> event.
 /// </summary>
 protected virtual void OnSearchOptionsChanged(SearchOptionsChangedEventArgs e)
 {
     if (SearchOptionsChanged != null) {
         SearchOptionsChanged(this, e);
     }
 }
Beispiel #5
0
 void search_SearchOptionsChanged(object sender, SearchOptionsChangedEventArgs e)
 {
     searchPanel = sender as SearchPanel;
 }