KeyCode trong Winform C#

KeyCode trong Winform C#

Sự kiện KeyDown sử dụng cho TextBox để nhận mã phím đã chọn

Ví dụ KeyDown

private void txt_NhanVien_KeyDown(object sender, KeyEventArgs e)
        {
            if(e.KeyCode==Keys.F4)
                bt_Chon.PerformClick();
        }

KeyCode trong Winform C#