Hi, Currently I'm working on a Smart Device project in VB.NET (in Visual Studio 2008) and I found a project on the net in C# which fits to my needs so I added to my solution as a class library. So right now I have a solution with a VB project and a C# project (class library). In the C# I have a part like this:
namespace Something
{
public class SomeList : SomeListControl
{
public event EventHandler SiteReached;
public event EventHandler SiteOpened;
public event EventHandler ListOpened;
...
This namespace is included in my VB project as a Reference.
Public Class MainClass
Private SomeControl As SomeList
Private Sub MenuItem1\_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem1.Click
'In the C# project the following code was implemented:
'SomeControl.SiteReached += (s, ea) => miBack.Enabled = false;
'SomeControl.SiteOpened += (s, ea) => miBack.Enabled = true;
'SomeControl.ListOpened += new EventHandler(SomeControl\_ListOpened);
'What can I do to inherit those Eventhandlers?
...
Thank you in advance for your kind help.