I need to have a dynamic information exchange
between two assemblies. One is an exe and the
other a dll derived of a class that implements
The executable has a command-list where commands
are added or removed depending on user input.
The dll also has a command-list, but only one of
the commands in either list should be the current
If user klicks a control in exe, the command
of the dll must be canceled, and if user clicks a
control of the dll which is displayed in the exe,
the current exe command must be canceled.
What would be the easiest way to go about?
The only way to transfer information is the interface.
I can adapt code whereever I need to. e.g. whenever a
command is added to either list ( control.click ) I can
send some info to the other side?!
Id be happy about any suggestions.