Ejemplo n.º 1
0
        private void GetDatas()
        {   // 작업장에 할당된 작업자 목록 가져오기
            Emp_Wc_AllocationService service = new Emp_Wc_AllocationService();
            List <WorkerVO>          list    = service.GetAllocatedWorker(GlobalUsage.WcCode);

            // 할당된 작업자
            dgvAllocatedWorker.DataSource = list;
            // 할당대상 작업자
            dgvAllocatableWorker.DataSource = service.GetAllocatableWorker(GlobalUsage.WcCode);

            txtWorkerCnt.TextBoxText = list.Count.ToString();
        }