From 1209d93632b447823caf371dea5ccf030ab20434 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 13 十一月 2020 17:11:55 +0800 Subject: [PATCH] 2020-11-13 1.更新 --- HDL_ON/UI/MainPage.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index 5f3ef66..4e86d9f 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -185,5 +185,16 @@ #endif } + /// <summary> + /// 寮圭獥鎻愮ず + /// </summary> + /// <param name="mes"></param> + public static void ShowAlertOnMainThread(string mes) + { + Application.RunOnMainThread(() => { + new Alert("", mes, Language.StringByID(StringId.Close)).Show(); + }); + } + } } -- Gitblit v1.8.0