protected override async Task InitializeAsync(CancellationToken cancellationToken, IProgress<ServiceProgressData> progress) { Options = (Options)GetDialogPage(typeof(Options)); var commandService = await GetServiceAsync(typeof(IMenuCommandService)) as OleMenuCommandService; if (commandService != null) { EnableReloadCommand.Initialize(this, commandService); } }