private void UpdatePurchaseMst(int type, string Id, EntityPurchaseMst entity)
 {
     try
     {
         svcPurchaseMstClient svc = new svcPurchaseMstClient();
         svc.UpdatePurchaseMstCompleted += new EventHandler<UpdatePurchaseMstCompletedEventArgs>(this.UpdatePurchaseMstCompleted);
         svc.UpdatePurchaseMstAsync(Common.gstrSessionString, type, Id, entity);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".UpdatePurchaseMst" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
 private void GetPurchaseMst(string id)
 {
     try
     {
         objPurchaseMst = null;   // 初期化
         svcPurchaseMstClient svc = new svcPurchaseMstClient();
         svc.GetPurchaseMstCompleted += new EventHandler<GetPurchaseMstCompletedEventArgs>(this.GetPurchaseMstCompleted);
         svc.GetPurchaseMstAsync(Common.gstrSessionString, id);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".GetPurchaseMst" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }