コード例 #1
0
        private void ShutdownProgramCallback(SysCommonMsgArgs <string> args)
        {
            IMessageBox _msgBox = IocManagerSingle.Instance.GetPart <IMessageBox>();

            if (args.Parameters != null)
            {
                if (_msgBox.ShowMutualMsg(LanguageHelperSingle.Instance.GetLanguageByKey(Languagekeys.ViewLanguage_View_MessageBox_Notice), args.Parameters))
                {
                    Application.Current.Shutdown();
                }
            }
            else
            {
                Application.Current.Shutdown();
            }
        }