ZForge.Controls.ExplorerBar.TaskItem.OnVisibleChanged C# (CSharp) 메소드

OnVisibleChanged() 보호된 메소드

Raises the VisibleChanged event
protected OnVisibleChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs that contains the event data
리턴 void
        protected override void OnVisibleChanged(EventArgs e)
        {
            // if we become invisible and have focus, give the
            // focus to our expando instead
            if (!this.Visible && this.Focused && this.Expando != null && this.Expando.Collapsed)
            {
                this.Expando.Select();
            }

            base.OnVisibleChanged(e);
        }