if (e.KeyCode == Keys.C && e.Modifiers == (Keys.Control | Keys.Shift))
{
//Do work
}
else if (e.KeyCode == Keys.V && e.Modifiers == Keys.Control)
{
//Paste
}
More Related Contents:
- Best way to implement keyboard shortcuts in a Windows Forms application?
- Up, Down, Left and Right arrow keys do not trigger KeyDown event
- How to deserialize a child object with dynamic (numeric) key names?
- Sending Windows key using SendKeys
- How to get a combination of keys in c#
- Reversible shuffle algorithm using a key
- How to convert a character in to equivalent System.Windows.Input.Key Enum value?
- Removing the delay after KeyDown event?
- How to Generate Unique Public and Private Key via RSA
- How do I capture Keys.F1 regardless of the focused control on a form?
- DataGridView keydown event not working in C#
- Get dictionary value by key
- keybd_event along with PostMessage win32 not working when Visual Studio has focus (or any application run as admin)
- listen for a key when the application is not focused
- KeyDown : recognizing multiple keys
- C# trying to capture the KeyDown event on a form
- Adding a select all shortcut (Ctrl + A) to a .net listview?
- In sqlite I would do, But how in mongodb c#
- Converting string to title case
- How do you get total amount of RAM the computer has?
- How do I fix a .NET windows application crashing at startup with Exception code: 0xE0434352?
- Resizing an image in asp.net without losing the image quality
- Use dependency injection in static class
- Auto Versioning in Visual Studio 2017 (.NET Core)
- Validate JSON against JSON Schema C#
- Why can I use a collection initializer with private set access from another class?
- SynchronizationLockException on Monitor.Exit when using await
- linq: order by random
- how safe is it to use session variables – asp.net / c#
- How can I Pass a Table Name to SqlCommand?