private void btnAutoTranslate_Click(object sender, EventArgs e) { System.Windows.Forms.Cursor.Current = Cursors.WaitCursor; int num = TranslationManager.CopyTranslationsFromExistingLines(); System.Windows.Forms.Cursor.Current = Cursors.Default; if (num <= 0) { MessageBox.Show("没有匹配的搜索结果", "翻译", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); return; } MessageBox.Show(string.Concat("增加了 ", num, " 个额外对话行的翻译"), "翻译", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); this.navTranslation.Refresh(); this.Calculate(); }