コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="isFlush"></param>
        private void BindContractItem(bool isFlush)
        {
            if (UserHelper.ContractItemList == null || isFlush == true)
            {
                string categoryName = this.Column1Info.Text.ToString();
                string projectName  = this.Column2Info.Text.ToString();
                Search search       = new Search
                {
                    CategoryName = categoryName,
                    ProjectName  = projectName,
                };

                List <ContractItem> list = _sc.QueryContractItemByName(search);
                UserHelper.ContractItemList = list;
            }
        }