How can I handle two buttons pressed simultaneously ('Ctrl' + 'C'), not in the WindowsForms application, but in console C# application?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
I suspect you want to set
Console.TreatCtrlCAsInput
totrue
. (Assuming you don't want this to terminate the app.)Check out Console.TreatControlCAsInput property;