Ver originalprivate void txtNumero_KeyUp(object sender, KeyEventArgs e){ if( e.KeyCcode == Keys.F2 ) { //Tu código }}