private async void tbH1SendCommand_KeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Return) { await H1EngineFunctions.ExecuteCommand(tbH1SendCommand.Text); tbH1SendCommand.Text = ""; } }
private async void btnH1SendCommand_Click(object sender, RoutedEventArgs e) { await H1EngineFunctions.ExecuteCommand(tbH1SendCommand.Text); tbH1SendCommand.Text = ""; }