private static bool LoadStrengthen(Dictionary <int, BoxInfo> m_TimeBoxInfo) { using (ProduceBussiness db = new ProduceBussiness()) { List <BoxInfo> infos = new List <BoxInfo>(); infos = db.GetAllBoxInfo(); foreach (BoxInfo info in infos) { if (!m_TimeBoxInfo.ContainsKey(info.ID)) { m_TimeBoxInfo.Add(info.ID, info); } } } return(true); }