예제 #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);
        }
예제 #2
0
 public void Dispose()
 {
     if (_firstTimeUse != null)
     {
         _shellEventsService.UnsubscribeSolutionEvents(_firstTimeUse);
         _firstTimeUse = null;
     }
 }