コード例 #1
0
        /// <summary>
        /// 查询资产信息
        /// </summary>
        public override void Query()
        {
            #region 类型树
            tlAssetsCategory.DataSource = categoryManager.GetAllList();
            tlAssetsCategory.ExpandAll();
            #endregion

            #region 查询所以有资产信息
            gcData.DataSource = AllAssets = assetsManager.GetAllList();
            gvData.BestFitColumns();
            #endregion
        }
コード例 #2
0
 /// <summary>
 /// 获取所有资产信息
 /// </summary>
 public static List <Models.ys_Assets> GetAssetsAllList()
 {
     BLL.AssetsManager assetsManager = new BLL.AssetsManager();
     return(assetsManager.GetAllList());
 }