Example #1
0
        /// <summary>
        /// One time initialization.
        /// </summary>
        public override void Initialize()
        {
            base.Initialize();

            _firstTimeUse = new SupportOptionsFirstTimeUse(this.OptionsService, _packageService, _shellHelperService, _shellInfoBarService, _messageService);
            _shellEventsService.SubscribeSolutionEvents(_firstTimeUse);
        }
Example #2
0
 public void Dispose()
 {
     if (_firstTimeUse != null)
     {
         _shellEventsService.UnsubscribeSolutionEvents(_firstTimeUse);
         _firstTimeUse = null;
     }
 }