This commit is contained in:
parent
4e2d6e5089
commit
692ad86616
@ -1971,9 +1971,18 @@ namespace VEPROMS.CSLA.Library
|
|||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (_MyConfig == null) return;
|
if (_MyConfig == null) return;
|
||||||
// MyContent.Config = value;
|
_MyConfig = null;
|
||||||
|
//MyContent.Config = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public void RefreshConfig()
|
||||||
|
{
|
||||||
|
string key = ItemID.ToString();
|
||||||
|
ConvertListToDictionary();
|
||||||
|
if (_CacheByPrimaryKey.ContainsKey(key))
|
||||||
|
foreach (ItemInfo tmpInfo in _CacheByPrimaryKey[key])
|
||||||
|
tmpInfo.MyConfig = null;
|
||||||
|
}
|
||||||
//public bool HasStandardSteps()
|
//public bool HasStandardSteps()
|
||||||
//{ return MyContent.ContentItemCount > 1; }
|
//{ return MyContent.ContentItemCount > 1; }
|
||||||
public Color ForeColor
|
public Color ForeColor
|
||||||
@ -2564,7 +2573,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
// the section default.
|
// the section default.
|
||||||
SectionConfig sc = ActiveSection.MyConfig as SectionConfig;
|
SectionConfig sc = ActiveSection.MyConfig as SectionConfig;
|
||||||
if (sc == null) return false;
|
if (sc == null) return false;
|
||||||
if (sc.Section_CheckoffHeaderSelection <= 0) return false;
|
if (sc.Section_CheckoffHeaderSelection < 0) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
private int CheckOffIndex()
|
private int CheckOffIndex()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user