public MainWindow() { InitializeComponent(); CreateHelpDictionary(); _commandPrompt = new WpfPrompt(); _commandPrompt.Prompt = "console demo>"; // Registers CommandProcess() with the ReadLine() event from the console. _commandPrompt.ReadLine += CommandProcess; //commandPrompt.LoadSettings(); // Loads the settings if they exist otherwise uses defaults. _commandPrompt.Show(); WindowState = WindowState.Minimized; }