Hey,
I have a program in C# but I want to convert it into VB.NET.
I have a problem with this code:
In the c# class: eIDClient.cs:
public event MessageReceived eventReceiving;
In another c# class:
theClient = new eIDclient();
this.theClient.eventAdding += new AddClient(theClient_eventAdding);
Now in VB.NET (used eIDClient as Reference)
I try to do this.
Dim theClient As New eID()
me.theClient.eventAdding += new AddClient(theClient_eventAdding)
private sub theClient_eventAdding()
Me.btnLogin.text="Disconnect"
end sub
Unfortunately I get an error. I know that my problem isn't explained clearly...
Thanks
I have a program in C# but I want to convert it into VB.NET.
I have a problem with this code:
In the c# class: eIDClient.cs:
public event MessageReceived eventReceiving;
In another c# class:
theClient = new eIDclient();
this.theClient.eventAdding += new AddClient(theClient_eventAdding);
Now in VB.NET (used eIDClient as Reference)
I try to do this.
Dim theClient As New eID()
me.theClient.eventAdding += new AddClient(theClient_eventAdding)
private sub theClient_eventAdding()
Me.btnLogin.text="Disconnect"
end sub
Unfortunately I get an error. I know that my problem isn't explained clearly...
Thanks