Exemplo n.º 1
0
        protected override void Initialize()
        {
            base.Initialize();

            ActivityLog.Initialize(GetService(typeof(SVsActivityLog)) as IVsActivityLog);

            mWindowTitleBuilder = new WindowTitleBuilder();
            mSelectorWatcher = new SelectorWatcher(mWindowTitleBuilder);
            mTitleUpdater = new WindowTitleUpdater(mWindowTitleBuilder);

            DTEService.Get().Events.SolutionEvents.AfterClosing += SolutionClosed;
            DTEService.Get().Events.SolutionEvents.Opened += SolutionOpened;

            mTitleUpdater.Start();
        }
Exemplo n.º 2
0
        protected override void Initialize()
        {
            base.Initialize();

            ActivityLog.Initialize(GetService(typeof(SVsActivityLog)) as IVsActivityLog);

            mWindowTitleBuilder = new WindowTitleBuilder();
            mSelectorWatcher    = new SelectorWatcher(mWindowTitleBuilder);
            mTitleUpdater       = new WindowTitleUpdater(mWindowTitleBuilder);

            DTEService.Get().Events.SolutionEvents.AfterClosing += SolutionClosed;
            DTEService.Get().Events.SolutionEvents.Opened += SolutionOpened;

            mTitleUpdater.Start();
        }