Exemple #1
0
        protected override void Initialize()
        {
            base.Initialize();

            OptionsPage settings;

            try
            {
                settings = GetDialogPage(typeof(OptionsPage)) as OptionsPage;
            }
            catch
            {
                settings = new OptionsPage();
            }

            OleMenuCommandService menuService = GetService(typeof(IMenuCommandService)) as OleMenuCommandService;

            _helpLinks = new HelpToolbarEntries(menuService, this);
            _easterEgg = new EasterEgg(settings);

            Logging.Log(Logging.Severity.Information, "LUFA package initialized");
        }