private void btn_save_Click(object sender, EventArgs e) { xtBiz xtbiz = new xtBiz(); xtbiz.Update_xt_cssz(dt); MessageBox.Show("保存成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information); #region 日志记录 loginbiz.WriteLog(this.Name.Trim(), "【" + Program.username + "】" + "在电脑【" + ma.HostName() + "】上修改了参数设置!IP:" + Program.hostip, Program.username); #endregion }