BrightIdeasSoftware.ObjectListView.HandleApplicationIdle C# (CSharp) Method

HandleApplicationIdle() protected method

The application is idle. Trigger a SelectionChanged event.
protected HandleApplicationIdle ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        protected virtual void HandleApplicationIdle(object sender, EventArgs e)
        {
            // Remove the handler before triggering the event
            Application.Idle -= new EventHandler(HandleApplicationIdle);
            this.hasIdleHandler = false;

            this.OnSelectionChanged(new EventArgs());
        }
ObjectListView