I want to detect (as simple as posible) the "ctrl+o" keys and then show up a message. I tried: enter link description here enter link description here
and other 4 links, I cannot show you. Please help.
I want to detect (as simple as posible) the "ctrl+o" keys and then show up a message. I tried: enter link description here enter link description here
and other 4 links, I cannot show you. Please help.
Try this. It worked for me.
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Modifiers == Keys.Control && e.KeyCode.ToString() == "O")
{
MessageBox.Show("ctrl + o pressed");
}
}