I have a solution with 2 projects inside. Project A is Vb.net and Project B is C#
I need to receive an event on Project A when certain conditions are met in Project B.
I made all the imports and project B is visible and usable from Project A.
As far as I arrived, I declare the event in Project B:
public EventHandler MatchFound;
And I think the event can be fired inside Project B with:
protected void OnMatchFound()
{
if (this.MatchFound != null)
this.MatchFound(this, EventArgs.Empty);
}
The question is, how to receive this event in vb.net Project A?