I have a VB.NET dll (written by someone else) and I require that it publishes and raises an event that will (typically) be handled by C#.
If the DLL were C# then this would be simple,
(client)
myDLL.OnClick += doClick
(Dll)
if (OnClick != null) OnClick(....
i.e. 2 lines of code
but perhaps it's my frustration at VB.NET, but I cannot find a simple example of how to do this.
Can someone please show/explain how to define and raise an event in VB.NET, that can be handled within C#?
Thanks
MM