Expand() private method

private Expand ( Source src ) : void
src Source
return void
        private void SwitchSource(Source src)
        {
            if (src != null)
            {
                if (src.Parent != null)
                {
                    view.Expand(src.Parent);
                }

                ServiceManager.SourceManager.SetActiveSource(src);

                if (hide_timeout_id != 0)
                {
                    ServiceStack.Application.IdleTimeoutRemove(hide_timeout_id);
                    hide_timeout_id = 0;
                }
            }
        }