예제 #1
0
        private bool filterTimer_GlibHandler()
        {
            if (filterModel != null)
            {
                DateTime startTime = DateTime.Now;
                Debug.WriteLine("ListView: Setting filter \"{0}\"", autoFilterValue);
                filterModel.SetFilter(autoFilterValue);
                Debug.WriteLine("ListView: Finished setting filter in \"{0}\"", DateTime.Now - startTime);
            }

            autoFilterDebouncing = false;
            if (AutoFilterApplied != null)
            {
                AutoFilterApplied(this, EventArgs.Empty);
            }

            if (autoFilterActivateRow)
            {
                autoFilterActivateRow = false;
                OnRowActivated();
            }

            return(false);
        }