Пример #1
0
        private void BindEmployee(TreeViewItem item, string postID)
        {
            PersonnelWS.PersonnelServiceClient perclient = new PersonnelWS.PersonnelServiceClient();
            perclient.GetEmployeePostByPostIDCompleted += new EventHandler <PersonnelWS.GetEmployeePostByPostIDCompletedEventArgs>(perclient_GetEmployeePostByPostIDCompleted);

            perclient.GetEmployeePostByPostIDAsync(postID, item);
        }
Пример #2
0
 private void BindEmployee(TreeViewItem item, string postID)
 {
     //postIDsCach.Add(postID,"0");
     if (postIDsCach.ContainsKey(postID))
     {
         return;
     }
     PersonnelWS.PersonnelServiceClient perclient = new PersonnelWS.PersonnelServiceClient();
     perclient.GetEmployeePostByPostIDCompleted += new EventHandler <PersonnelWS.GetEmployeePostByPostIDCompletedEventArgs>(perclient_GetEmployeePostByPostIDCompleted);
     loadbar.Start();
     perclient.GetEmployeePostByPostIDAsync(postID, item);
 }
Пример #3
0
 private void BindEmployee(TreeViewItem item, string postID)
 {
     //postIDsCach.Add(postID,"0");
     if (postIDsCach.ContainsKey(postID)) return;
     PersonnelWS.PersonnelServiceClient perclient = new PersonnelWS.PersonnelServiceClient();
     perclient.GetEmployeePostByPostIDCompleted += new EventHandler<PersonnelWS.GetEmployeePostByPostIDCompletedEventArgs>(perclient_GetEmployeePostByPostIDCompleted);
     loadbar.Start();
     perclient.GetEmployeePostByPostIDAsync(postID, item);
 }
Пример #4
0
 private void BindEmployee(TreeViewItem item, string postID)
 {
     //postIDsCach.Add(postID,"0");
     if (postIDsCach.ContainsKey(postID)) return;
     PersonnelWS.PersonnelServiceClient perclient = new PersonnelWS.PersonnelServiceClient();
     perclient.GetEmployeePostByPostIDCompleted += new EventHandler<PersonnelWS.GetEmployeePostByPostIDCompletedEventArgs>(perclient_GetEmployeePostByPostIDCompleted);
    // perclient.GetEmployeePostByPostIDViewCompleted += new EventHandler<PersonnelWS.GetEmployeePostByPostIDViewCompletedEventArgs>(perclient_GetEmployeePostByPostIDViewCompleted);
     loadbar.Start();
     //原来的根据岗位id找下面的人没有权限控制,以后如有变更,改会来就行
     perclient.GetEmployeePostByPostIDAsync(postID, item);
    // perclient.GetEmployeePostByPostIDViewAsync(postID, CurrentUserID, item);
 }
Пример #5
0
        private void BindEmployee(TreeViewItem item, string postID)
        {
            PersonnelWS.PersonnelServiceClient perclient = new PersonnelWS.PersonnelServiceClient();
            perclient.GetEmployeePostByPostIDCompleted += new EventHandler<PersonnelWS.GetEmployeePostByPostIDCompletedEventArgs>(perclient_GetEmployeePostByPostIDCompleted);

            perclient.GetEmployeePostByPostIDAsync(postID, item);
        }