KeyDown : recognizing multiple keys

后端 未结 13 2710
悲&欢浪女
悲&欢浪女 2020-12-03 02:47

How can I determine in KeyDown that CtrlUp was pressed.

private void listView1_KeyDown(object sender, KeyEventArgs e)
{
           


        
13条回答
  •  春和景丽
    2020-12-03 03:21

    In the KeyEventArgs there are properties Ctrl, Alt and Shift that shows if these buttons are pressed.

提交回复
热议问题