public void KeyDown(Control c, KeyEventArgs e) { if (c is VisualPopupQATOverflow) KeyDownPopupOverflow(c as VisualPopupQATOverflow, e); else KeyDownRibbon(e); }