/// <summary>

        /// 静态方法 模拟MESSAGEBOX.Show方法

        /// </summary>

        /// <param name="title">标题</param>

        /// <param name="msg">消息</param>

        /// <returns></returns>

        public static bool?Show(string title, string msg)
        {
            var msgBox = new UMessageBox();

            msgBox.Title = title;

            msgBox.Message = msg;

            return(msgBox.ShowDialog());
        }