En VB
Private
Sub frmCliente_KeyUp(ByVal
sender As Object,
ByVal e As
System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
If
e.KeyCode = Keys.F2 Then
btnNuevo_Click(sender, e)
End If
End Sub
En C#
private void frmCliente_KeyUp(object sender, System.Windows.Forms.KeyEventArgs e)
{
if
(e.KeyCode == Keys.F2)
{
btnNuevo_Click(sender, e);
}
}