Public Sub Form1_KeyPress(ByVal sender As Object, ByVal e As KeyPressEventArgs) Handles Me.KeyPress If e.KeyChar = Convert.ToChar(1) Then 'Ctrl-A 'Do something End If If e.KeyChar = Convert.ToChar(2) Then 'Ctrl-B 'Do something End If 'etc.... End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)