private void UpdatePerson(int type, long Id, EntityPerson entity)
 {
     try
     {
         svcPersonClient svc = new svcPersonClient();
         svc.UpdatePersonCompleted += new EventHandler<UpdatePersonCompletedEventArgs>(this.UpdatePersonCompleted);
         svc.UpdatePersonAsync(Common.gstrSessionString, type, Id, entity);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".UpdatePerson" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
 private void GetPerson(int id)
 {
     try
     {
         objPerson = null;   // 初期化
         svcPersonClient svc = new svcPersonClient();
         svc.GetPersonCompleted += new EventHandler<GetPersonCompletedEventArgs>(this.GetPersonCompleted);
         svc.GetPersonAsync(Common.gstrSessionString, id);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".GetPerson" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }