Exemple #1
0
        public static HomePageNodeModel GetHomePageNodeModel(int nodeId)
        {
            HomePageNodeModel model = null;

            XMLDataManage.Manage().homePageNodeDict.TryGetValue(nodeId, out model);
            return(model);
        }
Exemple #2
0
        public static GridControlModel GetGridControlModel(string type)
        {
            GridControlModel model = null;

            XMLDataManage.Manage().gridControlDict.TryGetValue(type, out model);
            return(model);
        }
Exemple #3
0
 /// <summary>
 /// 获取主页树节点的数据
 /// </summary>
 public static List <HomePageNodeModel> GetNodesXML()
 {
     return(XMLDataManage.Manage().homepageNodes);
 }
Exemple #4
0
 public static void Init()
 {
     XMLDataManage.Manage();
 }