/// <summary>
 /// 导入完数据之后接着验证用户名
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_ImportEmployeeEntryCompleted(object sender, ImportEmployeeEntryCompletedEventArgs e)
 {
     try
     {
         if (e.Error != null && e.Error.Message != "")
         {
             Set();
             ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), e.Error.Message, Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
             return;
         }
         ObservableCollection <V_EmployeeEntryInfo> listEmp = e.Result;
         if (listEmp != null)
         {
             listEmp.ForEach(it =>
             {
                 it.UserName = HanziZhuanPingYin.Convert(it.EmployeeName).ToLower();
             });
             client.ValidUserNameIsExistAsync(listEmp);
         }
         else
         {
             Set();
             ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "导入数据为空,请确认模板和数据是否正确", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation);
             return;
         }
     }
     catch (Exception ex)
     {
         Set();
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), ex.ToString(), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
 }
 /// <summary>
 /// 导入完数据之后接着验证用户名
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void client_ImportEmployeeEntryCompleted(object sender, ImportEmployeeEntryCompletedEventArgs e)
 {
     try
     {
         if (e.Error != null && e.Error.Message != "")
         {
             Set();
             ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), e.Error.Message, Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
             return;
         }
         ObservableCollection<V_EmployeeEntryInfo> listEmp = e.Result;
         if (listEmp!=null)
         {
             listEmp.ForEach(it =>
             {
                 it.UserName = HanziZhuanPingYin.Convert(it.EmployeeName).ToLower();
             });
             client.ValidUserNameIsExistAsync(listEmp);
         }
         else
         {
             Set();
             ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("CAUTION"), "导入数据为空,请确认模板和数据是否正确", Utility.GetResourceStr("CONFIRM"), MessageIcon.Exclamation);
             return;
         }
     }
     catch (Exception ex)
     {
         Set();
         ComfirmWindow.ConfirmationBoxs(Utility.GetResourceStr("ERROR"), ex.ToString(), Utility.GetResourceStr("CONFIRM"), MessageIcon.Error);
     }
 }