From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 18 九月 2020 13:58:19 +0800 Subject: [PATCH] 新版本 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameRefreshControl.cs | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameRefreshControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameRefreshControl.cs index f67e435..e10b04e 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameRefreshControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/ListViewLayoutControls/VerticalFrameRefreshControl.cs @@ -18,11 +18,11 @@ /// <summary> /// 妗屽竷鎺т欢 /// </summary> - private FrameLayout m_frameTable = null; + private NormalFrameLayout m_frameTable = null; /// <summary> /// 妗屽竷鎺т欢 /// </summary> - public FrameLayout frameTable + public NormalFrameLayout frameTable { get { @@ -66,7 +66,7 @@ { return; } - this.m_frameTable = new FrameLayout(); + this.m_frameTable = new NormalFrameLayout(); this.m_frameTable.Width = this.Width; this.m_frameTable.Height = this.Height; base.AddChidren(this.m_frameTable); @@ -85,16 +85,16 @@ //鍒濆鍖栨甯冩帶浠� this.InitFrameTable(); - int value = this.GetLocationMostLastViewBottom(this.m_frameTable); + int value = this.GetLocationMostLastViewBottom(this.frameTable); if (value != -1) { view.Y = value + rowSpace; } - this.m_frameTable.AddChidren(view); + this.frameTable.AddChidren(view); //璋冩暣妗屽竷楂樺害 - if (this.m_frameTable.Height < view.Bottom) + if (this.frameTable.Height < view.Bottom) { - this.m_frameTable.Height = view.Bottom; + this.frameTable.Height = view.Bottom; } } @@ -108,20 +108,20 @@ this.InitFrameTable(); //鑾峰彇鍧愭爣搴曢儴鏈�涓嬮潰鐨勯偅涓帶浠剁殑搴曢儴鍧愭爣 - int value = this.GetLocationMostLastViewBottom(this.m_frameTable); + int value = this.GetLocationMostLastViewBottom(this.frameTable); if (value != -1) { view.Y = value; } - this.m_frameTable.AddChidren(view); + this.frameTable.AddChidren(view); if (rowSpace > 0) { view.Height += rowSpace; } //璋冩暣妗屽竷楂樺害 - if (this.m_frameTable.Height < view.Bottom) + if (this.frameTable.Height < view.Bottom) { - this.m_frameTable.Height = view.Bottom; + this.frameTable.Height = view.Bottom; } } @@ -158,11 +158,11 @@ } //鑾峰彇鍧愭爣搴曢儴鏈�涓嬮潰鐨勯偅涓帶浠剁殑搴曢儴鍧愭爣 - int value = this.GetLocationMostLastViewBottom(this.m_frameTable); + int value = this.GetLocationMostLastViewBottom(this.frameTable); if (value != -1) { //璋冩暣妗屽竷楂樺害 - this.m_frameTable.Height = value + buttomSpace; + this.frameTable.Height = value + buttomSpace; } else { @@ -181,7 +181,7 @@ this.AdjustTableHeight(); var btnTemp = new BottomClickButton(); - if (btnTemp.Yaxis >= this.m_frameTable.Height + correctionsValue) + if (btnTemp.Yaxis >= this.frameTable.Height + correctionsValue) { //娌℃湁瓒呰繃 return; -- Gitblit v1.8.0