Added DevNoteOrCautionTabOffset property

Hid Volian "V" Create PDF button when viewing a multi unit procedure
Added null check to mylookup value in ContainsKey method of ItemInfo class
This commit is contained in:
Rich
2014-01-24 05:13:03 +00:00
parent 242d03bba6
commit d959824dd4
6 changed files with 26 additions and 9 deletions

View File

@@ -4516,7 +4516,7 @@ namespace VEPROMS.CSLA.Library
{
foreach (Dictionary<int, ItemInfo> mylookup in MyLookups.Values)
{
if (mylookup.ContainsKey(itemID))
if (mylookup != null && mylookup.ContainsKey(itemID))
return mylookup[itemID];
}
return null;
@@ -4526,7 +4526,7 @@ namespace VEPROMS.CSLA.Library
{
foreach (Dictionary<int, ItemInfo> mylookup in MyLookups.Values)
{
if (mylookup.ContainsKey(itemID))
if (mylookup != null && mylookup.ContainsKey(itemID))
return true;
}
return false;

View File

@@ -2711,6 +2711,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _UseRNOParentIdent, "@UseRNOParentIdent");
}
}
private LazyLoad<string> _DevNoteOrCautionTabOffset;
public string DevNoteOrCautionTabOffset
{
get
{
return LazyLoad(ref _DevNoteOrCautionTabOffset, "@DevNoteOrCautionTabOffset");
}
}
private LazyLoad<string> _BoxLeftAdj;
public string BoxLeftAdj
{