Trying to create an event handler for the combobox (cbdev) keydown event in my datagrid, this does not work:
AddHandler cbdev.KeyDown, New EventHandler(AddressOf cbdev_KeyDown)
Private Sub cbdev_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)
Nested sub does not have a signature that is compatible with delegate 'Delegate Sub KeyEventHandler(sender As Object, e As System.Windows.Forms.KeyEventArgs)'.
I have tried various combinations, but cannot find an approach that works.
Thanks in advance.