// ダイアログ表示
 public void ProcessingDlgShow()
 {
     win = new Dlg_Progress();
     win.Show();
 }
        private ObservableCollection<EntityMstList> objMstList;         // マスタ一覧
        
        #endregion

        #region Method

        #region Web Service Call

        // WebサービスCall(データ参照時)
        public void CallWebServiceMst(geWebServiceMstNmCallKbn callKbn, 
                                      geDialogDisplayFlg dialogDisplayFlg,
                                      geDialogCloseFlg dialogCloseFlg,
                                      object[] prm)
        {
            try
            {
                if (Common.gblnAppStart == false)
                {
                    return;
                }

                gWebServiceMstNmCallKbn = callKbn;
                WebServiceMstNmCallKbn = callKbn;

                // Web Service Call
                switch (callKbn)
                {
                    case geWebServiceMstNmCallKbn.GetCustomer:
                    case geWebServiceMstNmCallKbn.GetCustomer_F:
                    case geWebServiceMstNmCallKbn.GetCustomer_T:
                        GetCustomer(ExCast.zCStr(prm[0]));
                        break;
                    case geWebServiceMstNmCallKbn.GetSupplier:
                        GetSupplier(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetPerson:
                    case geWebServiceMstNmCallKbn.GetPerson_F:
                    case geWebServiceMstNmCallKbn.GetPerson_T:
                        GetPerson(ExCast.zCStr(prm[0]));
                        break;
                    case geWebServiceMstNmCallKbn.GetCommodity:
                    case geWebServiceMstNmCallKbn.GetCommodity_F:
                    case geWebServiceMstNmCallKbn.GetCommodity_T:
                        GetCommodity(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetCompanyGroup:
                    case geWebServiceMstNmCallKbn.GetCompanyGroup_F:
                    case geWebServiceMstNmCallKbn.GetCompanyGroup_T:
                        GetCompanyGroup(ExCast.zCStr(prm[0]));
                        break;
                    case geWebServiceMstNmCallKbn.GetZip:
                        GetZip(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetCondition:
                    case geWebServiceMstNmCallKbn.GetCondition_F:
                    case geWebServiceMstNmCallKbn.GetCondition_T:
                        GetCondition(1, ExCast.zCStr(prm[0]));
                        break;
                    case geWebServiceMstNmCallKbn.GetRecieptDivision:
                        GetReceitpDivision(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetGroup:
                    case geWebServiceMstNmCallKbn.GetGroup_F:
                    case geWebServiceMstNmCallKbn.GetGroup_T:
                        GetGroup(ExCast.zCInt(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetPurchase:
                    case geWebServiceMstNmCallKbn.GetPurchase_F:
                    case geWebServiceMstNmCallKbn.GetPurchase_T:
                        GetPurchase(ExCast.zCStr(prm[0]));
                        break;
                    case geWebServiceMstNmCallKbn.GetCustomerList:
                        GetCustomerList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]), ExCast.zCStr(prm[3]));
                        break;
                    case geWebServiceMstNmCallKbn.GetSupplierList:
                        GetSupplierList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]), ExCast.zCStr(prm[3]));
                        break;
                    case geWebServiceMstNmCallKbn.GetPersonList:
                        GetPersonList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]));
                        break;
                    case geWebServiceMstNmCallKbn.GetCommodityList:
                        GetCommodityList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]), ExCast.zCStr(prm[3]));
                        break;
                    case geWebServiceMstNmCallKbn.GetCompanyGroupList:
                        GetCompanyGroupList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]));
                        break;
                    case geWebServiceMstNmCallKbn.GetZipList:
                        GetZipList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetConditionList:
                        GetConditionList(1, ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]));
                        break;
                    case geWebServiceMstNmCallKbn.GetRecieptDivisionList:
                        GetReceitpDivisionList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]));
                        break;
                    case geWebServiceMstNmCallKbn.GetGroupList:
                        GetGroupList((int)this.MstGroupKbn, ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]));
                        break;
                    case geWebServiceMstNmCallKbn.GetPurchaseList:
                        GetPurchaseList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]), ExCast.zCStr(prm[3]));
                        break;
                    case geWebServiceMstNmCallKbn.GetUserList:
                        GetUserList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]), ExCast.zCStr(prm[2]));
                        break;
                    case geWebServiceMstNmCallKbn.GetInventoryList:
                        GetInventoryList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetSalesBalanceList:
                        GetSalesBalanceList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    case geWebServiceMstNmCallKbn.GetPaymentBalanceList:
                        GetPaymentBalanceList(ExCast.zCStr(prm[0]), ExCast.zCStr(prm[1]));
                        break;
                    default:
                        break;
                }

                // 処理中ダイアログ表示
                if (dialogDisplayFlg == geDialogDisplayFlg.Yes)
                {
                    win = new Dlg_Progress();
                    win.Show();
                }
                
            }
            catch (Exception ex)
            {
                ExMessageBox.Show(CLASS_NM + ".CallWebService" + Environment.NewLine + ex.ToString(), "エラー確認");
            }
        }