private void CommandBox_DropDownClosed(object sender, EventArgs e) { this.BeginInvoke(new Action(() => { CommandBox.Select(CommandBox.Text.Length, 0); })); }
private void SetCurrentCommand(string command) { CommandBox.Text = command; CommandBox.Select(CommandBox.Text.Length, 0); }