I finally got around to using this feature that you guys so graciously put in there for me. I have my first menu item inserted and an event handler created for it like the following:
Code: Select all
Ribbon.AddApplicationMenuItem("Export Report Layout", new EventHandler(ExportReportLayout), null, 3);
My problem is that the event handler does not have any reference to the designer and thus the report that is currently loaded. In most of the events I have hooked the "sender" parameter is set to the report designer. In this event hook, it is set to the GUI Ribbon Bar or something of that nature. From this object I have no way of finding a reference to the designer or loaded report.
Any help you can provide here would be great.
Thanks,
John Hamilton