public bool OnKeyDownCore(MapKeyEventArgs e) { switch (e.KeyEventArgs.KeyCode) { case Keys.T: TooltipActive = !TooltipActive; return(false); case Keys.D: if (e.KeyEventArgs.Modifiers.HasFlag(Keys.Alt)) { _map.SwitchDisplay(); } return(false); case Keys.Back: break; } if (_fullControllManipulator != null) { return(_fullControllManipulator.OnKeyDownCore(e)); } else { bool redraw = false; foreach (ManipulatorBase m in _manipulators) { redraw |= m.OnKeyDownCore(e); } return(redraw); } }