示例#1
0
 /// <summary>
 /// 根据身份证获取简历
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_GetResumeByNumberCompleted(object sender, GetResumeByNumberCompletedEventArgs e)
 {
     if (e.Result != null)
     {
         resume = e.Result;
         //LoadExp();
         //LoadEdu();
         experience.LoadData(FormTypes.Edit, resume.RESUMEID, resume);
         educateHistory.LoadData(FormTypes.Edit, resume.RESUMEID, resume);
     }
 }
示例#2
0
 /// <summary>
 /// 根据身份证获取简历
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_GetResumeByNumberCompleted(object sender, GetResumeByNumberCompletedEventArgs e)
 {
     if (e.Result != null)
     {
         resume = e.Result;
         //LoadExp();
         //LoadEdu();
         experience.LoadData(FormTypes.Edit, resume.RESUMEID, resume);
         educateHistory.LoadData(FormTypes.Edit, resume.RESUMEID, resume);
     }
 }
示例#3
0
 /// <summary>
 /// 简历
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void Client_GetResumeByNumberCompleted(object sender, GetResumeByNumberCompletedEventArgs e)
 {
     if (e.Error != null && e.Error.Message != string.Empty)
     {
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), Utility.GetResourceStr("ERRORINFO"), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
     else
     {
         if (e.Result != null)
         {
             Resume = e.Result;
             if (e.UserState.ToString() == "Edu")
             {
                 client.GetEducateHistoryAllAsync(Resume.RESUMEID);
             }
             else
             {
                 client.GetExperienceAllAsync(Resume.RESUMEID);
             }
         }
         else
         {
             Resume = new T_HR_RESUME();
             Resume.RESUMEID = System.Guid.NewGuid().ToString();
             Resume.IDCARDNUMBER = Employee.IDNUMBER;
             Resume.NAME = Employee.EMPLOYEECNAME;
             ObservableCollection<T_HR_EDUCATEHISTORY> colEdu = new ObservableCollection<T_HR_EDUCATEHISTORY>();
             ObservableCollection<T_HR_EXPERIENCE> colExp = new ObservableCollection<T_HR_EXPERIENCE>();
             client.ResumeAddAsync(Resume, colExp, colEdu, "RESUME");
         }
     }
 }