private void UpdateStockInventory(int type, string ymd, ObservableCollection<EntityStockInventory> entity)
 {
     try
     {
         svcStockInventoryClient svc = new svcStockInventoryClient();
         svc.UpdateStockInventoryCompleted += new EventHandler<UpdateStockInventoryCompletedEventArgs>(this.UpdateStockInventoryCompleted);
         svc.UpdateStockInventoryAsync(Common.gstrSessionString, type, ymd, entity);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".UpdateStockInventory" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
 private void GetStockInventoryList(string strWhereSql, string strOrderBySql)
 {
     try
     {
         objStockInventoryList = null;   // 初期化
         svcStockInventoryClient svc = new svcStockInventoryClient();
         svc.GetStockInventoryListCompleted += new EventHandler<GetStockInventoryListCompletedEventArgs>(this.GetStockInventoryListCompleted);
         svc.GetStockInventoryListAsync(Common.gstrSessionString, strWhereSql, strOrderBySql);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".GetStockInventoryList" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }