コード例 #1
0
 private void GetPurchase(string PurchaseID)
 {
     try
     {
         objMstName = null;   // 初期化
         svcMstDataClient svc = new svcMstDataClient();
         svc.GetPurchaseCompleted += new EventHandler<GetPurchaseCompletedEventArgs>(this.GetPurchaseCompleted);
         svc.GetPurchaseAsync(Common.gstrSessionString, PurchaseID);
     }
     catch (Exception ex)
     {
         Common.gblnDesynchronizeLock = false;
         ExMessageBox.Show(CLASS_NM + ".GetPurchase" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
コード例 #2
0
 private void GetSupplierList(string ID, string Name, string Kana, string CustomerID)
 {
     try
     {
         objMstName = null;   // 初期化
         svcMstDataClient svc = new svcMstDataClient();
         svc.GetSupplierListCompleted += new EventHandler<GetSupplierListCompletedEventArgs>(this.GetSupplierListCompleted);
         svc.GetSupplierListAsync(Common.gstrSessionString, CustomerID, ID, Name, Kana);
     }
     catch (Exception ex)
     {
         Common.gblnDesynchronizeLock = false;
         ExMessageBox.Show(CLASS_NM + ".GetSupplierList" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }
コード例 #3
0
 private void GetReceitpDivision(string Id, string dataGirdSelectedIndex)
 {
     try
     {
         objMstName = null;   // 初期化
         svcMstDataClient svc = new svcMstDataClient();
         svc.GetReceitpDivisionCompleted += new EventHandler<GetReceitpDivisionCompletedEventArgs>(this.GetReceitpDivisionCompleted);
         svc.GetReceitpDivisionAsync(Common.gstrSessionString, Id, dataGirdSelectedIndex);
     }
     catch (Exception ex)
     {
         Common.gblnDesynchronizeLock = false;
         ExMessageBox.Show(CLASS_NM + ".GetReceitpDivision" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }