// 显示翻译窗口 private void ShowTranForm() { try { var ft = new FrmTranslate(tranInterface, windowName, windowClass); ft.Show(); } catch { ; } }
// 显示翻译窗口 private void ShowTranForm() { try { FrmTranslate ts = new FrmTranslate(sourceOfTran, windowName, windowClass); ts.Local = new Point(this.Location.X + this.Width / 2, this.Location.Y + this.Height / 2); ts.Show(); } catch { ; } }