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:
@@ -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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user