Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Exchanging info dynamically via interface
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.
0 · ·