public static async void ShowPopMessageDialog(string identify, string text, PopMessageType msgType, Action<bool> callBack)
        {
            PopMessageDialog dialog = new PopMessageDialog
            {
                Text = text,

            };
            if (msgType == PopMessageType.Confirm)
            {
                dialog.MessageBoxButton = MessageBoxButton.OKCancel;
            }
            else if (msgType == PopMessageType.ConfirmYesNoCancel)
            {
                dialog.MessageBoxButton = MessageBoxButton.YesNoCancel;
            }
            else if (msgType == PopMessageType.ConfirmYesNo)
            {
                dialog.MessageBoxButton = MessageBoxButton.YesNo;
            }
            else
            {
                dialog.MessageBoxButton = MessageBoxButton.OK;
            }
            var flag = await DialogHost.Show(dialog, identify);
            if (callBack != null)
            {
                callBack((MessageBoxResult)flag == MessageBoxResult.OK);
            }
        }
        /// <summary>
        /// 使用窗口内部弹出消息方式弹出,无返回
        /// </summary>
        /// <param name="text"></param>
        /// <param name="regionName"></param>
        public static void Show(string text, string regionName)
        {
            PopMessageDialog errorDialog = new PopMessageDialog
            {
                Text             = text,
                MessageBoxButton = MessageBoxButton.OK
            };

            DialogHost.Show(errorDialog, regionName);
        }
        /// <summary>
        /// 使用窗口内部弹出消息的方式弹出,有返回
        /// </summary>
        /// <param name="text"></param>
        /// <param name="button"></param>
        /// <param name="regionName"></param>
        /// <returns></returns>
        public static async Task <MessageBoxResult> ShowMsg(string text, MessageBoxButton button, string regionName)
        {
            PopMessageDialog dialog = new PopMessageDialog
            {
                Text             = text,
                MessageBoxButton = button
            };
            var flag = await DialogHost.Show(dialog, regionName);

            return((MessageBoxResult)flag);
        }