private void UpdateSupplier(int type, string CustomerId, string Id, EntitySupplier entity)
 {
     try
     {
         svcSupplierClient svc = new svcSupplierClient();
         svc.UpdateSupplierCompleted += new EventHandler<UpdateSupplierCompletedEventArgs>(this.UpdateSupplierCompleted);
         svc.UpdateSupplierAsync(Common.gstrSessionString, type, CustomerId, Id, entity);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".UpdateSupplier" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
 private void GetSupplier(string CustomerId, string id)
 {
     try
     {
         objSupplier = null;   // 初期化
         svcSupplierClient svc = new svcSupplierClient();
         svc.GetSupplierCompleted += new EventHandler<GetSupplierCompletedEventArgs>(this.GetSupplierCompleted);
         svc.GetSupplierAsync(Common.gstrSessionString, CustomerId, id);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".GetSupplier" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }