Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();

            //This odd event handler is needed because the TextBox control eats that spacebar, so we have to intercept an already-handled event.
            Console.AddHandler(KeyDownEvent, new KeyEventHandler(Console_KeyDown), true);
        }