c# Plugin Event Handling -
i have written plugin system uses interface , plugins meet contract loaded @ runtime main system.
the plugin returns tabpage slotted main app, , controlled fromwithin plugin dll.
if error occurs within plugin, standard windows error message shows. want create event returns error message can display in area have reserved text.
do need keep track of attached plugin/interface instances able set event monitor each one?
at present, system loops through dll's within app folder , meet interface contract loaded up, actual instance of interface discarded each time control handed on dll via button events loaded tabpage , handled within plugin.
i hope makes sense.
you don't need keep reference plugin class, add delegate event when start up, after don't need reference anymore.
Comments
Post a Comment