M
meh
This should wotk I think but its not trapping the Insert or Delete key???
Do I not have this written correctly?
if (e.KeyCode == Keys.Insert)
{
MessageBox.Show("Pressed " + e.KeyCode);
if (e.Control)
{
MessageBox.Show("Pressed " + e.KeyCode);
}
else if (e.Shift)
{
MessageBox.Show("Pressed " + e.KeyCode);
}
else
{
MessageBox.Show("Pressed " + e.KeyCode);
}
}
Do I not have this written correctly?
if (e.KeyCode == Keys.Insert)
{
MessageBox.Show("Pressed " + e.KeyCode);
if (e.Control)
{
MessageBox.Show("Pressed " + e.KeyCode);
}
else if (e.Shift)
{
MessageBox.Show("Pressed " + e.KeyCode);
}
else
{
MessageBox.Show("Pressed " + e.KeyCode);
}
}