protected override void SetupMenuCommand() { base.SetupMenuCommand(); impl = new TrialAndErrorRemoval(); menuCommand.BeforeQueryStatus += UpdateVisibility; }
protected override void SetupMenuCommand() { base.SetupMenuCommand(); impl = new TrialAndErrorRemoval(); impl.OnFileFinished += OnDocumentIncludeRemovalFinished; menuCommand.BeforeQueryStatus += UpdateVisibility; settings = (TrialAndErrorRemovalOptionsPage)Package.GetDialogPage(typeof(TrialAndErrorRemovalOptionsPage)); }