void GetDataMem() { try { #region Allcode DataMemory.c_hs_Allcode.Clear(); AllCodeBL _AllCodeBL = new AllCodeBL(); List <AllcodeInfo> _lst_al = _AllCodeBL.AllCode_Gets_List(); if (_lst_al.Count > 0) { foreach (AllcodeInfo item in _lst_al) { if (DataMemory.c_hs_Allcode.ContainsKey(item.CdName + "|" + item.CdType) == false) { List <AllcodeInfo> _lst = new List <AllcodeInfo>(); _lst.Add(item); DataMemory.c_hs_Allcode[item.CdName + "|" + item.CdType] = _lst; } else { List <AllcodeInfo> _lst = (List <AllcodeInfo>)DataMemory.c_hs_Allcode[item.CdName + "|" + item.CdType]; _lst.Add(item); } } } #endregion #region Custom DataMemory.Get_ListCustom(); #endregion } catch (Exception ex) { NaviCommon.Common.log.Error(ex.ToString()); } }