From 38ab16c66df6fc523f2c385fd583a2f2e86a781c Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 29 四月 2020 17:58:45 +0800 Subject: [PATCH] 2020-4-29-1 --- ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs index 7bb41b3..ee92d35 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/UserMain/UserMainForm.cs @@ -132,9 +132,9 @@ { //鐢ㄦ埛澶村儚 this.btnUserIcon = new ImageView(); - btnUserIcon.Height = Application.GetMinRealAverage(280); - btnUserIcon.Width = Application.GetMinRealAverage(280); - btnUserIcon.Radius = (uint)Application.GetMinRealAverage(280) / 2; + btnUserIcon.Height = this.GetPictrueRealSize(280); + btnUserIcon.Width = this.GetPictrueRealSize(280); + btnUserIcon.Radius = (uint)this.GetPictrueRealSize(280) / 2; btnUserIcon.X = Application.GetRealWidth(121); if (Common.Config.Instance.Home.IsVirtually == false) { @@ -285,15 +285,16 @@ frame.ButtonClickEvent += (sender, e) => { HdlGatewayLogic.Current.RefreshAppOldSelectGatewayId(); + //鎷ユ湁缃戝叧,鎴栬�呮槸铏氭嫙浣忓畢,鍒欒繘鍏ヨ澶囧垪琛ㄧ晫闈� if (string.IsNullOrEmpty(GatewayResourse.AppOldSelectGatewayId) == false || Common.Config.Instance.Home.IsVirtually == true) { - //铏氭嫙浣忓畢鍥哄畾杩涘叆杩欎釜鐣岄潰 var form = new Device.DeviceListMainForm(); form.AddForm(); } else { + //娌℃湁缃戝叧,鍒欒繘鍏ョ綉鍏冲垪琛ㄧ晫闈� var form = new GatewayManage.GatewayListForm(); form.AddForm(); } -- Gitblit v1.8.0