//接受语音消息 private void button8_Click(object sender, EventArgs e) { if (string.IsNullOrWhiteSpace(this.textBox9.Text)) { MessageBox.Show("收到消息中的语音文件名不能为空"); return; } if (string.IsNullOrWhiteSpace(this.textBox7.Text)) { MessageBox.Show("应用所需的格式不能为空"); return; } string content = coolQApiForTest.GetRecord(this.textBox9.Text, this.textBox7.Text); textBox4.Text = content; MessageBox.Show("执行完成"); }