Do you have a vb.net example of this. I am getting an error when I try it in vb.net
Public Sub New()
AddHandler wcbAssessment.TextBoxArea.KeyDown, AddressOf dd_Freeze
I get this error
Method ‘Private Sub dd_Freeze(Sender As Object, e As System.Windows.Forms.KeyPressEventArgs)’ does not have the same signature as delegate ‘Delegate Sub KeyEventHandler(sender As Object, e As System.Windows.Forms.KeyEventArgs)’.
Imported from legacy forums. Posted by Ooh (had 382 views)