public AwardModel(XmlNode node, Database db) : base(node, db) { m_pAwardList = new List <AwardBoxModel>(); XmlNodeList nodelist = node.SelectNodes(@"award_box"); foreach (XmlNode tmp in nodelist) { AwardBoxModel model = new AwardBoxModel(tmp, db); m_pAwardList.Add(model); } }
public AwardBoxController(AwardBoxModel model, MainDatabase db) { m_pModel = model; m_pDb = db; }