Is there a way to handle the multiple key-press event on a C# windows form, like "Ctrl+E" ?
Here's my code:
private void frmDataEntry_KeyDown(object sender, KeyEventArgs e)
{
if (Control.ModifierKeys == Keys.Control && e.KeyCode == Keys.E)
{
//Code
}
}
This condition is always false .. why? I press ctrl + E and e.KeyCode is false and Control.ModifierKeys is true? What am I doing wrong?