/// <summary> /// Initializes a new instance of the <see cref="ShellTextBox"/> class. /// </summary> public ShellTextBox() { InitializeComponent(); CommandCompletion = new CommandCompletion(); KeyPress += shellTextBox_KeyPress; KeyDown += ShellControl_KeyDown; KeyUp += OnKeyUp; PreviewKeyDown += PreviewKeyDown_event; PrintPrompt(); }