コード例 #1
0
        private void BindingComboBox()
        {
            //서비스호출
            ComboItemService service = new ComboItemService();
            var FcltsList            = service.GetFacilitiesCode();

            CommonUtil.ComboBinding <ComboItemVO>(cboFclts, FcltsList, "COMMON_CODE", "COMMON_NAME", "");
        }
コード例 #2
0
        private void BindingComboBox()
        {
            //서비스호출
            ComboItemService service = new ComboItemService();
            var ComList = service.GetCompanyCode();

            CommonUtil.ComboBinding <ComboItemVO>(cboCompany, ComList, "COMMON_CODE", "COMMON_NAME", "");
        }
コード例 #3
0
        private void BindingComboBox()
        {
            //서비스호출
            ComboItemService service = new ComboItemService();
            var factoryList          = service.GetFactoryCode();

            CommonUtil.ComboBinding <ComboItemVO>(cboWarehouse, factoryList, "COMMON_CODE", "COMMON_NAME", "");
        }
コード例 #4
0
        /// <summary>
        /// 콤보박스 바인딩하는 메서드
        /// </summary>
        private void BindingComboBox()
        {
            //콤보박스 서비스 호출
            ComboItemService service = new ComboItemService();
            var Commonlist           = service.GetFacilitiesCode();

            //콤보박스 바인딩
            CommonUtil.ComboBinding <ComboItemVO>(cboFcltsCode, Commonlist, "COMMON_NAME", "COMMON_CODE");
        }
コード例 #5
0
        private void BindingComboBox()
        {
            ////서비스호출
            ComboItemService service = new ComboItemService();

            var planlist = service.GetPlanID();

            CommonUtil.ComboBinding <ComboItemVO>(cboPlan, planlist, "COMMON_CODE", "COMMON_NAME");
        }
コード例 #6
0
        /// <summary>
        /// 콤보박스 바인딩하는 메서드
        /// </summary>
        private void BindingComboBox()
        {
            //콤보박스 서비스 호출
            ComboItemService service = new ComboItemService();
            var Commonlist           = service.GetCmCode();
            var grouplist            = (from item in Commonlist select item).Where(p => p.COMMON_PARENT == "RIGHT").ToList();

            //콤보박스 바인딩
            CommonUtil.ComboBinding <ComboItemVO>(cboRightgroup, grouplist, "COMMON_CODE", "COMMON_NAME");
        }
コード例 #7
0
        /// <summary>
        /// 콤보박스 바인딩하는 메서드
        /// </summary>
        private void BindingComboBox()
        {
            //콤보박스 서비스 호출
            ComboItemService service = new ComboItemService();

            commonlist = service.GetCmCode();
            //콤보박스 바인딩 - 부서명
            var codelist = (from item in commonlist where item.COMMON_PARENT == "DEP" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboDept, codelist, "COMMON_CODE", "COMMON_NAME", "전체");
        }
コード例 #8
0
        /// <summary>
        /// 콤보박스 바인딩하는 메서드
        /// </summary>
        private void BindingComboBox()
        {
            //콤보박스 서비스 호출
            ComboItemService service = new ComboItemService();
            var Itemlist             = service.GetTopItemCode();
            var ComList = service.GetCompanyCode();

            //콤보박스 바인딩
            CommonUtil.ComboBinding <ComboItemVO>(cboCOM, ComList, "COMMON_CODE", "COMMON_NAME");
            CommonUtil.ComboBinding <ComboItemVO>(cboCOM2, ComList, "COMMON_CODE", "COMMON_NAME");
            CommonUtil.ComboBinding <ComboItemVO>(cboItem, Itemlist, "COMMON_CODE", "COMMON_NAME");
        }
コード例 #9
0
        private void BindingComboBox()
        {
            //서비스호출
            ComboItemService service = new ComboItemService();

            var CommonList = service.GetCmCode();
            var ShiftList  = (from item in CommonList select item).Where(p => p.COMMON_PARENT == "SHIFT").ToList();

            var FcltsList = service.GetFacilitiesCode();

            CommonUtil.ComboBinding <ComboItemVO>(cboShift, ShiftList, "COMMON_CODE", "COMMON_NAME", "");
            CommonUtil.ComboBinding <ComboItemVO>(cboFclts, FcltsList, "COMMON_CODE", "COMMON_NAME", "");
        }
コード例 #10
0
        private void BindingComboBox()
        {
            //서비스호출
            ComboItemService service = new ComboItemService();

            var commonlist  = service.GetCmCode();
            var statelist   = (from item in commonlist select item).Where(p => p.COMMON_PARENT == "ORDER_STATE").ToList();
            var companylist = service.GetCompanyCode();
            var com2list    = service.GetCompanyCode();

            CommonUtil.ComboBinding <ComboItemVO>(cboState, statelist, "COMMON_CODE", "COMMON_NAME", "");
            CommonUtil.ComboBinding <ComboItemVO>(cboCom, companylist, "COMMON_CODE", "COMMON_NAME", "");
            CommonUtil.ComboBinding <ComboItemVO>(cboCom2, com2list, "COMMON_CODE", "COMMON_NAME", "");
        }
コード例 #11
0
        /// <summary>
        /// 콤보박스 바인딩하는 메서드
        /// </summary>
        private void BindingComboBox()
        {
            //콤보박스 서비스 호출
            ComboItemService service = new ComboItemService();
            var facList  = service.GetFacilitiesCode();
            var itemList = service.GetItemCode();
            var woList   = service.GetWOCode();
            var planList = service.GetPlanID();

            //콤보박스 바인딩
            CommonUtil.ComboBinding <ComboItemVO>(cboFC, facList, "COMMON_CODE", "COMMON_NAME");
            CommonUtil.ComboBinding <ComboItemVO>(cboItem, itemList, "COMMON_CODE", "COMMON_NAME");
            CommonUtil.ComboBinding <ComboItemVO>(cboWO, woList, "COMMON_CODE", "COMMON_NAME");
            CommonUtil.ComboBinding <ComboItemVO>(cboPlanID, planList, "COMMON_CODE", "COMMON_NAME");
        }
コード例 #12
0
        private void ComboBinding()
        {
            CommonService      service    = new CommonService();
            ComboItemService   service1   = new ComboItemService();
            List <ComboItemVO> commonList = service.GetITEMCmCode();
            List <ComboItemVO> facList    = service1.GetFacilitiesCode();

            CommonUtil.ComboBinding <ComboItemVO>(cboFacil, facList, "COMMON_CODE", "COMMON_NAME", "");
            var listITEM = (from item in commonList where item.COMMON_PARENT == "품목" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboItemCode, listITEM, "COMMON_NAME", "COMMON_CODE", "");
            var listTool = (from item in commonList where item.COMMON_PARENT == "PROC_TOOL" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboPROC, listTool, "COMMON_CODE", "COMMON_NAME", "");
            var listYN = (from item in commonList where item.COMMON_PARENT == "사용여부" select item).ToList();

            CommonUtil.ComboBinding <ComboItemVO>(cboUseYN, listYN, "COMMON_CODE", "COMMON_NAME", "");
        }