Hi there
It seems that ButtonTool is missing a eventhandler for the AddPublication function to successfully registed the event.
private void AddApplicaitonCloseButton() { ButtonTool btn = new ButtonTool("ApplicationClose"); btn.SharedProps.Caption = "&Close"; WorkItem.UIExtensionSites[UIExtensionSiteNames.MainApplicationMenu].Add<ButtonTool>(btn);
-> WorkItem.EventTopics[EventTopicNames.ApplicationCloseEvent].AddPublication(btn, "ToolClick", WorkItem, PublicationScope.Global); }
Can someone please tell me which eventhandler is missing or incomparable ? Thanks
This could be a bug. I would recommend submitting the issue to the support group: http://ko.infragistics.com/gethelp.