📌  相关文章
📜  C# 和箭头键 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:50.946000             🧑  作者: Mango

代码示例1
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
    bool shiftPressed = (keyData & Keys.Shift) != 0;
    Keys unmodifiedKey = (keyData & Keys.KeyCode);

    // rest of code goes here
}