private async void Button_TestGo_Click(object sender, RoutedEventArgs e) { try { await TTSPlayer.UnifiedPlay(TextBox_TTSTest.Text); TextBox_ExecutionResult.Text = "播放成功/已添加到队列"; } catch (Exception ex) { AsyncDialog.Open($"错误: {ex}", "Re: TTSCat", MessageBoxIcon.Error); TextBox_ExecutionResult.Text = $"播放失败: {ex.Message}"; } }