public PocketModule(XmlNode node, Database db) { XmlNode wallet = null; wallet = node.SelectSingleNode("wallet"); m_pWalletPointModel = new PocketPointModel(wallet, db); XmlNodeList list = node.SelectNodes("pocket_item"); m_pWalletItemModule = new List <PocketItemModule>(); foreach (XmlNode tmp in list) { PocketItemModule item = new PocketItemModule(tmp, db); m_pWalletItemModule.Add(item); } }
public PocketItemController(PocketItemModule module, MainDatabase db) { m_pModule = module; m_pDB = db; }