public void GotFocus(Control c) { if ((_gallery.LastGallery != null) && (_gallery.LastGallery.CanFocus)) { _ribbon.LostFocusLosesKeyboard = false; _gallery.LastGallery.Focus(); } }