예제 #1
0
        private void WorkerAssignJob_DoWork(object sender, DoWorkEventArgs e)
        {
            // Executes when RunWorkerAsync() is called

            List <EmployeeJobAssign> dataReceived = new EmployeeJobAssignData().GetAssignJobList(); //change for other all

            e.Result = dataReceived;
        }
예제 #2
0
        private void WorkerJobStatus_DoWork(object sender, DoWorkEventArgs e)
        {
            List <EmployeeJobAssign> dataReceived = new EmployeeJobAssignData().GetAssignJobListForEmployee(n.employeeId);

            e.Result = dataReceived;
        }