示例#1
0
 public HomeItems()
 {
     cacheKey      = 20.ToString();
     dataHomeItems = Factory.GetHomeItems();
     types.Add(0, "顶部统计");
     types.Add(1, "左边列表");
     types.Add(2, "右边列表");
     dstypes.Add(0, "SQL语句");
     dstypes.Add(1, "C#方法");
     dstypes.Add(2, "URL地址");
 }
示例#2
0
 public HomeItems()
 {
     this.cacheKey      = Keys.CacheKeys.HomeItems.ToString();
     this.dataHomeItems = RoadFlow.Data.Factory.Factory.GetHomeItems();
     this.types.Add(0, "顶部统计");
     this.types.Add(1, "左边列表");
     this.types.Add(2, "右边列表");
     this.dstypes.Add(0, "SQL语句");
     this.dstypes.Add(1, "C#方法");
     this.dstypes.Add(2, "URL地址");
 }