private bool DoFindNext(UInt64 key) { if (MatchFound == null) { return(true); } MatchFoundEventArgs args = new MatchFoundEventArgs(key); MatchFound(this, args); return(args.Handled); }
void mSearchDialog_MatchFound(object sender, MatchFoundEventArgs e) { TreeNode node; int index; FindNodeForId(e.Key, false, out node, out index); if (node != null) { SelectNodeRow(node, index); e.Handled = true; } }
private bool DoFindNext(UInt64 key) { if (MatchFound == null) return true; MatchFoundEventArgs args = new MatchFoundEventArgs(key); MatchFound(this, args); return args.Handled; }