예제 #1
0
 private void txtSearch_TextChanged(object sender, EventArgs e)
 {
     LimitedAction.RunAfter(SearchLimitId, 500, () =>
     {
         this.FilterAndUpdateUI(tvDirectories.SelectedNode?.FullPath);
     });
 }
예제 #2
0
 private void txtFind_TextChanged(object sender, EventArgs e)
 {
     LimitedAction.RunAfter(2, 500, delegate
     {
         if (string.IsNullOrEmpty(txtFind.Text))
         {
             this.ClearHighlighting();
         }
         else
         {
             this.HighlightText(txtFind.Text);
         }
     });
 }