protected override void Initialize() { var optionsEventProvider = GeneralOptionProvider.Instance; var commandService = GetService(typeof(IMenuCommandService)) as OleMenuCommandService; FunctionListControl = new FunctionListControl(optionsEventProvider, commandService); Content = FunctionListControl; }
public static void FunctionListWindowCreated(FunctionListControl functionListControl) { _functionListControl = functionListControl; _instance?.SetLastResultFunctionList(CancellationToken.None); }