예제 #1
0
        int IVsSolutionLoadEvents.OnAfterBackgroundSolutionLoadComplete()
        {
            if (guidanceNavigatorManager == null)
            {
                guidanceNavigatorManager = new GuidanceNavigatorManager(this as System.IServiceProvider);
            }

            IRecipeManagerService rms = (IRecipeManagerService)GetService(typeof(IRecipeManagerService));

            rms.EnabledPackage += new PackageEventHandler(OnEnabledPackage);

            IVsSolutionLoadEvents hostService =
                (IVsSolutionLoadEvents)GetService(typeof(IHostService));
            int result = hostService.OnAfterBackgroundSolutionLoadComplete();

            isOpeningSolution = false;
            return(result);
        }