/// <summary> /// 删除translate /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void btn_translate_Del(object sender, EventArgs e) { TextBox txtbox = this.Controls[7] as TextBox; if (ExportExcel.DelTranslate(txtbox.Text)) { ShowTips("删除完成"); } }