SaveFileDialog sfd = new SaveFileDialog();
sfd.ShowDialog();
sfd.Filter("Wave Files|*.wav");
ss.SetOutPutToWaveFile(sfd.FileName);
ss.Speak(richTextbox.Text);
ss.SetOutputToDefaultAudioDevice();
答案 0 :(得分:3)
if (sfd.ShowDialog() == DialogResult.OK){
//user saved it
}
else {
//write code to handle the case when an user does't save , and canceled it
}
答案 1 :(得分:2)
使用checkbox.setFieldFlags(PDField.FLAG_READ_ONLY);
的返回值:
sfd.ShowDialog()