//编辑脚本,返回值为新值,或者旧值 public string SkillDataEdit(string strCode) { FrmScriptEdit fse = new FrmScriptEdit(strCode); GetColList(strCode); if( fse.ShowDialog() == System.Windows.Forms.DialogResult.OK) { return fse.GetScriptCode(); } else { return strCode; } }
//编辑脚本,返回值为新值,或者旧值 public string SkillDataEdit(string strCode) { FrmScriptEdit fse = new FrmScriptEdit(strCode); GetColList(strCode); if (fse.ShowDialog() == System.Windows.Forms.DialogResult.OK) { return(fse.GetScriptCode()); } else { return(strCode); } }