From 427d1c7ecd04b03419eae157e32fe3367d8dffea Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期四, 28 十一月 2019 09:53:25 +0800
Subject: [PATCH] 2019.11.28
---
ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs
index e0fd6a0..024da49 100644
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/CommonFormResouce.cs
@@ -231,6 +231,21 @@
return $"{sec}{Language.StringByID(R.MyInternationalizationString.Second)}";
}
}
- }
+ /// <summary>
+ /// 鏄剧ず鎻愮ず
+ /// </summary>
+ /// <param name="r">The red component.</param>
+ public static void ShowTip(string msg)
+ {
+ Application.RunOnMainThread(() =>
+ {
+ var myTip = new Tip();
+ myTip.Direction = AMPopTipDirection.None;
+ myTip.CloseTime = 2;
+ myTip.Text = msg;
+ myTip.Show(Common.CommonPage.Instance);
+ });
+ }
+ }
}
--
Gitblit v1.8.0