protected override void Initialize() { ScreenComponent screenComponent = new ScreenComponent(this); Components.Add(screenComponent); screenComponent.KeyDown += (args) => { Console.WriteLine("Down: " + args.Key.ToString()); }; screenComponent.KeyPress += (args) => { Console.WriteLine("Press: " + args.Key.ToString()); }; screenComponent.KeyUp += (args) => { Console.WriteLine("Up: " + args.Key.ToString()); }; base.Initialize(); }