How to emulate a console in WPF? How to emulate a console in WPF? wpf wpf