示例#1
0
        private void InitializeGettingStarted()
        {
            bool gettingStartedWasPreviouslyClosed = _gettingStarted == null;

            if (gettingStartedWasPreviouslyClosed)
            {
                return;
            }

            bool isGettingStarted = _settings.IsGettingStarted();

            _gettingStarted.Visible = isGettingStarted;
            ShowHideBuildsLabel();

            if (isGettingStarted)
            {
                _gettingStarted.Initialize(_settings);
            }
            else
            {
                DisposeGettingStarted();
            }
        }