Main Form - Author-it On-Premises - Author-it

Author-it Development Documentation

A panel can be added to the main form by creating new PanelAddArgs, and then calling the PanelAdd method on the AitApplicationProxy.

To update the panel attach a handler to one of the Author-it plugin events, such as OnObjectSelect.

Sample code

_proxy.PanelAdd(new PanelAddArgs()

{

PluginName = "Statistics",

Panel = _panelMain

});

_proxy.AddPluginToAitEvent(new AitEventAddArgs()

{

PluginName = "MainFormOnSelectionChanged",

EventType = AitEventType.OnObjectSelect,

OnAitEvent = _panelMain.OnSelectionChanged

});