HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPageBLL.cs
@@ -2,6 +2,7 @@ using System; using Shared; using HDL_ON.Entity; using System.Text.RegularExpressions; namespace HDL_ON.UI { @@ -34,6 +35,13 @@ } if (function.name != name) { Regex regtest = new Regex(@"\p{Cs}"); Match match = regtest.Match(name); if (match.Success) { HDLCommon.Current.ShowAlert(Language.StringByID(StringId.CannotEnterSpecialCharacters)); return; } function.name = name; btnFunctionName.Text = name; function.SaveFunctionData(true);