Exemplo n.º 1
0
        // F12ボタン(メニュー) クリック
        public override void btnF12_Click(object sender, RoutedEventArgs e)
        {
            UA_Main       pg  = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
            Dlg_InpMaster win = (Dlg_InpMaster)ExVisualTreeHelper.FindPerentChildWindow(this);

            win.Close();
        }
        // F12ボタン(メニュー) クリック
        public override void btnF12_Click(object sender, RoutedEventArgs e)
        {
            UA_Main pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);

            Common.gPageGroupType = Common.gePageGroupType.Menu;
            Common.gPageType      = Common.gePageType.Menu;
            pg.ChangePage();
        }
Exemplo n.º 3
0
        // F12ボタン(メニュー) クリック
        public override void btnF12_Click(object sender, RoutedEventArgs e)
        {
            if (this.flg_relogin == true)
            {
                Common.ReLogin(ExWebService.geDialogDisplayFlg.No, ExWebService.geDialogCloseFlg.No);
            }

            UA_Main       pg  = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
            Dlg_InpMaster win = (Dlg_InpMaster)ExVisualTreeHelper.FindPerentChildWindow(this);

            win.Close();
        }
Exemplo n.º 4
0
        public NaviPage()
        {
            InitializeComponent();

            if (Application.Current.IsRunningOutOfBrowser && Common.gblnStartSettingDlg == false)
            {
                Common.gblnStartSettingDlg = true;

                // 起動時間短縮の為に画面情報を保持しておく
                Dlg_InpSearch InpSearch = null;
                Common.dataForm = new View.Dlg.Dlg_DataForm();
                Common.report   = new View.Dlg.Report.Dlg_Report();
                //InpSearch = Common.InpSearchEstimate;
                //InpSearch = Common.InpSearchOrder;
                InpSearch = Common.InpSearchSales;
                //InpSearch = Common.InpSearchReceipt;
                //InpSearch = Common.InpSearchEstimateRpt;
                //InpSearch = Common.InpSearchOrderRpt;
                //InpSearch = Common.InpSearchSalesRpt;
                //InpSearch = Common.InpSearchReceiptRpt;
            }

            Common.gPageGroupType = Common.gePageGroupType.StartUp;
            if (Application.Current.InstallState == InstallState.NotInstalled)
            {
                Common.gPageType = Common.gePageType.Install;
            }
            else
            {
                if (Application.Current.IsRunningOutOfBrowser)
                {
                    Common.gPageType = Common.gePageType.Login;
                }
                else
                {
                    Common.gPageType = Common.gePageType.Install;
                }
            }
            UA_Main _main = new UA_Main();

            this.Content = _main;
            Common._main = _main;
        }
Exemplo n.º 5
0
        private void searchDlg_Closed(object sender, EventArgs e)
        {
            if (sender is Dlg_Login)
            {
                UA_Main main = (UA_Main)ExVisualTreeHelper.FindPerentPage(this);
                if (main != null)
                {
                    main.SetHeaderInf();
                }
            }

            if (Common.gWinMsterType == Common.geWinMsterType.Authority && Common.gWinGroupType == Common.geWinGroupType.InpMaster)
            {
                DisplayChange();
            }

            if (sender is Dlg_DutiesHistory)
            {
                GetDutiesList();
            }
        }
Exemplo n.º 6
0
        private void btnMenu_Click(object sender, RoutedEventArgs e)
        {
            Button        btn  = (Button)sender;
            ExChildWindow _win = null;
            UA_Main       pg   = null;

            switch (btn.Tag.ToString())
            {
                #region 全般設定

            case "CompanyMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.Company;
                _win = new Dlg_InpMaster();
                break;

            case "CompanyGroupMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.CompanyGroup;
                _win = new Dlg_InpMaster();
                break;

            case "UserMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.User;
                _win = new Dlg_InpMaster();
                break;

            case "AuthorityMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.Authority;
                _win = new Dlg_InpMaster();
                break;

            case "PersonMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.Person;
                _win = new Dlg_InpMaster();
                break;

            case "ClassMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMasterDetail;
                Common.gWinMsterType = Common.geWinMsterType.Class;
                _win = new Dlg_InpMaster();
                break;

            case "CommodityMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.Commodity;
                _win = new Dlg_InpMaster();
                break;

            case "ConditionMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMasterDetail;
                Common.gWinMsterType = Common.geWinMsterType.Condition;
                _win = new Dlg_InpMaster();
                break;

            case "Duties":
                _win = new Dlg_DutiesHistory();
                //ChildWindow child = new ChildWindow1();
                _win.Show();
                break;

                #endregion

                #region 売上系

            case "EstimateInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpEstimate;
                pg.ChangePage();
                break;

            case "OrderInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpOrder;
                pg.ChangePage();
                break;

            case "SalesInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpSales;
                pg.ChangePage();
                break;

            case "InvoiceClose":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpInvoiceClose;
                pg.ChangePage();
                break;

            case "InvoicePrint":
                Common.gWinGroupType = Common.geWinGroupType.InpListReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListInvoice;
                _win = new Dlg_InpSearch();
                break;

            case "ReceiptInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpReceipt;
                pg.ChangePage();
                break;

            case "CustomerMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.Customer;
                _win = new Dlg_InpMaster();
                break;

            case "SupplierMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.Supplier;
                _win = new Dlg_InpMaster();
                break;

            case "SalesBalance":
                Common.gWinGroupType = Common.geWinGroupType.InpListUpd;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListSalesCreditBalance;
                _win = new Dlg_InpSearch();
                break;

            case "InvoiceBalance":
                Common.gWinGroupType = Common.geWinGroupType.InpListUpd;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListInvoiceBalance;
                _win = new Dlg_InpSearch();
                break;

                #endregion

                #region 仕入系

            case "PurchaseOrderInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpPurchaseOrder;
                pg.ChangePage();
                break;

            case "PurchaseInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpPurchase;
                pg.ChangePage();
                break;

            case "PaymentClose":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpPaymentClose;
                pg.ChangePage();
                break;

            case "PaymentPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpListReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPayment;
                _win = new Dlg_InpSearch();
                break;

            case "PaymentCashInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpPaymentCash;
                pg.ChangePage();
                break;

            case "PurchaseMst":
                Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                Common.gWinMsterType = Common.geWinMsterType.Purchase;
                _win = new Dlg_InpMaster();
                break;

            case "PaymentCreditBalance":
                Common.gWinGroupType = Common.geWinGroupType.InpListUpd;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentCreditBalance;
                _win = new Dlg_InpSearch();
                break;

            case "PaymentBalance":
                Common.gWinGroupType = Common.geWinGroupType.InpListUpd;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentBalance;
                _win = new Dlg_InpSearch();
                break;

                #endregion

                #region 入出庫系

            case "InOutDeliveryInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpInOutDelivery;
                pg.ChangePage();
                break;

            case "StockInventoryInp":
                pg = (UA_Main)ExVisualTreeHelper.FindPerentPage(this.Parent);
                Common.gPageGroupType = Common.gePageGroupType.Inp;
                Common.gPageType      = Common.gePageType.InpStockInventory;
                pg.ChangePage();
                break;

                #endregion

                #region 売上レポート系

            case "EstimateDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListEstimat;
                _win = Common.InpSearchEstimate;
                break;

            case "OrderDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListOrder;
                _win = Common.InpSearchOrder;
                break;

            case "SalesDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListSales;
                _win = Common.InpSearchSales;
                break;

            case "SalesDayPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListSalesDay;
                _win = Common.InpSearchSales;
                break;

            case "SalesMonthPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListSalesMonth;
                _win = Common.InpSearchSales;
                break;

            case "SalesChangePrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListSalesChange;
                _win = Common.InpSearchSales;
                break;

            case "ReceiptDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListReceipt;
                _win = Common.InpSearchReceipt;
                break;

            case "ReceiptDayPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListReceiptDay;
                _win = Common.InpSearchReceipt;
                break;

            case "ReceiptMonthPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListReceiptMonth;
                _win = Common.InpSearchReceipt;
                break;

            case "CollectPlanPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListCollectPlan;
                _win = Common.InpSearchPlan;
                break;

            case "ReceiptPlanPrint":
                //Common.gWinGroupType = Common.geWinGroupType.InpMaster;
                //Common.gWinMsterType = Common.geWinMsterType.Person;
                //_win = new Dlg_InpMaster();
                break;

            case "SalesBalancePrint":
                Common.gWinGroupType = Common.geWinGroupType.InpListReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListSalesCreditBalance;
                _win = new Dlg_InpSearch();
                break;

            case "InvoiceBalancePrint":
                Common.gWinGroupType = Common.geWinGroupType.InpListReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListInvoiceBalance;
                _win = new Dlg_InpSearch();
                break;

                #endregion

                #region 在庫/仕入レポート系

            case "PurchaseOrderDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPurchaseOrder;
                _win = Common.InpSearchPurchaseOrder;
                break;

            case "PurchaseDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPurchase;
                _win = Common.InpSearchPurchase;
                break;

            case "PurchaseDayPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPurchaseDay;
                _win = Common.InpSearchPurchase;
                break;

            case "PurchaseMonthPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPurchaseMonth;
                _win = Common.InpSearchPurchase;
                break;

            case "PurchaseChangePrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPurchaseChange;
                _win = Common.InpSearchPurchase;
                break;

            case "PaymentCashDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentCashDay;
                _win = Common.InpSearchPaymentCash;
                break;

            case "PaymentCashDayPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentCashDay;
                _win = Common.InpSearchPaymentCash;
                break;

            case "PaymentCashMonthPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentCashMonth;
                _win = Common.InpSearchPaymentCash;
                break;

            case "PaymentPlanPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentPlan;
                _win = Common.InpSearchPlan;
                break;

            case "InOutDeliverDPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpDetailReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListInOutDelivery;
                _win = Common.InpSearchInOutDelivery;
                break;

            case "InventoryPrint":
                Common.gWinGroupType = Common.geWinGroupType.InpListReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListInventory;
                _win = Common.InpSearchInventory;
                break;

            case "PaymentCreditBalancePrint":
                Common.gWinGroupType = Common.geWinGroupType.InpListReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentCreditBalance;
                _win = new Dlg_InpSearch();
                break;

            case "PaymentBalancePrint":
                Common.gWinGroupType = Common.geWinGroupType.InpListReport;
                Common.gWinMsterType = Common.geWinMsterType.None;
                Common.gWinType      = Common.geWinType.ListPaymentBalance;
                _win = new Dlg_InpSearch();
                break;

                #endregion

                #region サポート系

            case "InquiryInp":
                _win = new Dlg_SupportHistory();
                break;

            case "Mamual":
                ExHyperlinkButton _link = new ExHyperlinkButton(Common.gstrManualUrl);
                _link.ClickMe();
                return;

                #endregion

            default:
                break;
            }

            if (_win != null)
            {
                _win.Closed -= searchDlg_Closed;
                _win.Closed += searchDlg_Closed;
                _win.Show();
            }
        }
Exemplo n.º 7
0
        public override void DataSelect(int intKbn, object objList)
        {
            Common.gstrMsgSessionError = "";

            ExPage    pg;
            Dlg_Login login;

            object[] prm;

            switch ((ExWebService.geWebServiceCallKbn)intKbn)
            {
            case ExWebService.geWebServiceCallKbn.Login:
                EntitySysLogin entity = (EntitySysLogin)objList;
                switch (entity._login_flg)
                {
                case 0:             // 正常ログイン
                    if (Common.gblnStartSettingDlg == false)
                    {
                        Common.gblnStartSettingDlg = true;

                        ExBackgroundWorker.DoWork_StartUpInstanceSet();

                        // 起動時間短縮の為に画面情報を保持しておく
                        Dlg_InpSearch InpSearch = null;
                        Common.dataForm   = new View.Dlg.Dlg_DataForm();
                        Common.report     = new View.Dlg.Report.Dlg_Report();
                        Common.reportView = new View.Dlg.Report.Dlg_ReportView();
                        InpSearch         = Common.InpSearchEstimate;
                        InpSearch         = Common.InpSearchOrder;
                        InpSearch         = Common.InpSearchSales;
                        InpSearch         = Common.InpSearchReceipt;
                        InpSearch         = Common.InpSearchPlan;
                        InpSearch         = Common.InpSearchInvoice;
                        InpSearch         = Common.InpSearchPurchaseOrder;
                        InpSearch         = Common.InpSearchPurchase;
                        InpSearch         = Common.InpSearchPaymentCash;
                        InpSearch         = Common.InpSearchPayment;
                        InpSearch         = Common.InpSearchInOutDelivery;
                    }

                    // システム情報設定
                    Common.gintCompanyId                     = entity._company_id;
                    Common.gstrCompanyNm                     = entity._company_nm;
                    Common.gintGroupId                       = entity._group_id;
                    Common.gstrGroupNm                       = entity._group_nm;
                    Common.gintDefaultPersonId               = entity._defult_person_id;
                    Common.gstrDefaultPersonNm               = entity._defult_person_nm;
                    Common.gstrGroupDisplayNm                = entity._group_display_name;
                    Common.gintEvidenceFlg                   = entity._evidence_flg;
                    Common.gintidFigureSlipNo                = entity._idFigureSlipNo;
                    Common.gintidFigureCustomer              = entity._idFigureCustomer;
                    Common.gintidFigurePurchase              = entity._idFigurePurchase;
                    Common.gintidFigureCommodity             = entity._idFigureGoods;
                    Common.gintEstimateApprovalFlg           = entity._estimate_approval_flg;
                    Common.gintReceiptAccountInvoicePringFlg = entity._receipt_account_invoice_print_flg;
                    Common.gstrSessionString                 = entity._session_string;
                    Common.gintUserID        = entity._user_id;
                    Common.gstrUserNm        = entity._user_nm;
                    Common.gstrSessionString = entity._session_string;
                    Common.gstrLoginUserID   = this.txtLoginID.Text.Trim();;
                    Common.gstrLoginPassword = this.txtPass.Password.Trim();
                    Common.gintDemoFlg       = entity._demo_flg;
                    Common.gstrSystemVer     = entity._sys_ver;
                    Common.gblnLogin         = true;

                    // System開始時の証跡を保存
                    DataPgEvidence.SaveLoadOrUnLoadEvidence(DataPgEvidence.PGName.System, DataPgEvidence.geOperationType.Start);

                    // 名称リスト取得
                    prm    = new object[1];
                    prm[0] = "";
                    webService.CallWebService(ExWebService.geWebServiceCallKbn.GetNameList,
                                              ExWebService.geDialogDisplayFlg.No,
                                              ExWebService.geDialogCloseFlg.No,
                                              prm);
                    break;

                case 1:             // 同一ユーザーログイン
                    // 権限リスト取得
                    prm    = new object[1];
                    prm[0] = Common.gintUserID;
                    webService.CallWebService(ExWebService.geWebServiceCallKbn.GetAuthority,
                                              ExWebService.geDialogDisplayFlg.No,
                                              ExWebService.geDialogCloseFlg.Yes,
                                              prm);
                    //webService.ProcessingDlgClose();
                    //pg = (ExPage)ExVisualTreeHelper.FindPerentPage(this);
                    //if (pg != null)
                    //{
                    //    UA_Main main = (UA_Main)pg;
                    //    Common.gPageGroupType = Common.gePageGroupType.Menu;
                    //    Common.gPageType = Common.gePageType.Menu;
                    //    main.ChangePage();
                    //    return;
                    //}
                    //login = (Dlg_Login)ExVisualTreeHelper.FindPerentChildWindow(this);
                    //login.Close();
                    break;

                default:            // ログイン失敗
                    webService.ProcessingDlgClose();
                    ExMessageBox.Show(this, this.txtLoginID, entity._login_message);
                    return;
                }

                break;

            case ExWebService.geWebServiceCallKbn.GetNameList:
                Common.gNameList = new MeiNameList(objList);

                // 権限リスト取得
                prm    = new object[1];
                prm[0] = Common.gintUserID;
                webService.CallWebService(ExWebService.geWebServiceCallKbn.GetAuthority,
                                          ExWebService.geDialogDisplayFlg.No,
                                          ExWebService.geDialogCloseFlg.Yes,
                                          prm);
                break;

            case ExWebService.geWebServiceCallKbn.GetAuthority:
                Common.gAuthorityList = (ObservableCollection <EntityAuthority>)objList;

                pg = (ExPage)ExVisualTreeHelper.FindPerentPage(this);
                if (pg != null)
                {
                    if (Common.gstrSystemVer != "" && Common.gstrSystemVer != Common.gstrClinetVer)
                    {
                        ExMessageBox.Show("システムのバージョン Ver." + Common.gstrSystemVer + " がリリースされています。" + Environment.NewLine +
                                          "(現在 Ver." + Common.gstrClinetVer + ")" + Environment.NewLine +
                                          "一旦アンインストールして再インストールして下さい。");
                    }

                    UA_Main main = (UA_Main)pg;
                    Common.gPageGroupType = Common.gePageGroupType.Menu;
                    Common.gPageType      = Common.gePageType.Menu;
                    main.ChangePage();
                    return;
                }
                login = (Dlg_Login)ExVisualTreeHelper.FindPerentChildWindow(this);
                login.Close();
                break;
            }
        }