From 19b211e5a9a5ff9c844a96a5d5e0230ca3628b80 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 25 五月 2023 14:56:11 +0800 Subject: [PATCH] ios 短信自动填充 --- HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs b/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs index 615bb1d..6a0f24c 100644 --- a/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs +++ b/HDL_ON/UI/UI0-Stan/Logic/HdlMessageLogic.cs @@ -82,16 +82,32 @@ { this.ShowMassage(ShowMsgType.Error, "System Error!", () => { - //string msg = ex.Message + "\r\n"; - //msg += ex.StackTrace; + string msg = ex.Message + "\r\n"; + msg += ex.StackTrace; - //var form = new HideOptionFileContentForm(); - //form.AddForm(string.Empty); - //form.SetTextContent(msg); + var form = new HideOptionFileContentForm(); + form.AddForm(string.Empty); + form.SetTextContent(msg); + + }, "ok"); + } + + /// <summary> + /// 鏄剧ずApp绋嬪簭鍑虹幇浜嗚嚧鍛介敊璇� + /// </summary> + /// <param name="ex"></param> + public void ShowAppProgramIsError(string msg) + { + this.ShowMassage(ShowMsgType.Error, "System Error!", () => + { + var form = new HideOptionFileContentForm(); + form.AddForm(string.Empty); + form.SetTextContent(msg); }, "ok"); } + #endregion } } -- Gitblit v1.8.0