bool IncludeItem(ShellItem item) { if (FilterItem != null) { FilterItemEventArgs e = new FilterItemEventArgs(item); FilterItem(this, e); return(e.Include); } else { return(true); } }
internal bool IncludeItem(IntPtr pidl) { if (FilterItem != null) { FilterItemEventArgs e = new FilterItemEventArgs( new ShellItem(m_CurrentFolder, pidl)); FilterItem(this, e); return(e.Include); } else { return(true); } }