From bb6ad792b598927a5459a5fb6f6c27fb1aa9e94e Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 17 十二月 2020 14:06:36 +0800 Subject: [PATCH] 20201217-1 --- HDL_ON/UI/UI0-Public/TopViewDiv.cs | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/TopViewDiv.cs b/HDL_ON/UI/UI0-Public/TopViewDiv.cs index 31e109f..02b75d2 100644 --- a/HDL_ON/UI/UI0-Public/TopViewDiv.cs +++ b/HDL_ON/UI/UI0-Public/TopViewDiv.cs @@ -146,8 +146,12 @@ Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/FuncInfoSetIcon.png", }; - contentView.AddChidren(btnSetting); + //濡傛灉鏄垚鍛橀殣钘忕紪杈戝姛鑳� + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + { + contentView.AddChidren(btnSetting); + } btnSetting.MouseUpEventHandler = (sender, e) => { editAction(); @@ -173,7 +177,11 @@ Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/FuncInfoSetIcon.png", }; - contentView.AddChidren(btnSetting); + //濡傛灉鏄垚鍛橀殣钘忕紪杈戝姛鑳� + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + { + contentView.AddChidren(btnSetting); + } btnSetting.MouseUpEventHandler = (sender, e) => { @@ -201,7 +209,12 @@ Height = Application.GetMinRealAverage(28), UnSelectedImagePath = "Public/FuncInfoSetIcon.png", }; - contentView.AddChidren(btnSetting); + + //濡傛灉鏄垚鍛橀殣钘忕紪杈戝姛鑳� + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + { + contentView.AddChidren(btnSetting); + } btnSetting.MouseUpEventHandler += (sender, e) => { -- Gitblit v1.8.0