private void Gallery_KeyUp(object sender, KeyEventArgs e) { if (key != null && key.Alt) { GalleryMenu.Show(RectangleToScreen(Icons.ClientRectangle).Left, RectangleToScreen(Icons.ClientRectangle).Top); e.SuppressKeyPress = true; } key = e; }