예제 #1
0
            protected override bool OnKeyDown(KeyDownEvent e)
            {
                if (keyCombination.IsPressed(new KeyCombination(KeyCombination.FromKey(e.Key)), KeyCombinationMatchingMode.Any))
                {
                    box.Colour = Color4.Navy;
                }

                return(base.OnKeyDown(e));
            }