F
Frank Rizzo
Hello, I have a library written in vb.net that I want to use in my c#
project. The library has an event written as:
Public Event KeyPressed(ByVal Character As String, ByVal KeyCode As Integer)
I am trying to wire up this event in my c# class without success. I've
tried the following below, but obviously the method signature doesn't match:
keyboardHandler.KeyPressed += new System.EventHandler(this.HandleKeyPress);
Any ideas?
project. The library has an event written as:
Public Event KeyPressed(ByVal Character As String, ByVal KeyCode As Integer)
I am trying to wire up this event in my c# class without success. I've
tried the following below, but obviously the method signature doesn't match:
keyboardHandler.KeyPressed += new System.EventHandler(this.HandleKeyPress);
Any ideas?