C2019-045: Fix length of procedure number for CCR to work

C2019-045: For enhanced procedures, allow modification of number & title
This commit is contained in:
2019-12-13 11:51:15 +00:00
parent 5109fbbddb
commit beed3319ca
7 changed files with 618 additions and 31 deletions

View File

@@ -2253,5 +2253,30 @@ OnPropertyChanged("Default_BkColor");
}
//end added by jcb to fix master issue byron/braidwood
#endregion
#region Enhanced
// C2019-045: For enhanced procedures, allow modifications of number & text.
[Category("Enhanced Settings")]
[Browsable(false)]
[DisplayName("AllowMods")]
[RefreshProperties(RefreshProperties.All)]
[Description("Allow Modifications of Number and Text")]
public bool Enhanced_AllowMods
{
get
{
string s = _Xp["Enhanced", "allowmods"];
if (s == string.Empty) return false; // empty is false
return bool.Parse(s);
}
set
{
if (_SaveChangesToDocVersionConfig)
{
_Xp["Enhanced", "allowmods"] = value.ToString();
OnPropertyChanged("Enhanced_AllowMods");
}
}
}
#endregion
}
}