old mode 100755
new mode 100644
| | |
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | |
|
| | | namespace Shared.Phone.UserCenter
|
| | | {
|
| | | /// <summary>
|
| | | /// RowLayout的最初原型
|
| | | /// </summary>
|
| | | public class RowLayoutBase : RowLayout
|
| | | {
|
| | | #region ■ 初始化_____________________________
|
| | |
|
| | | /// <summary>
|
| | | /// FrameLayout的最初原型
|
| | | /// </summary>
|
| | | public RowLayoutBase()
|
| | | {
|
| | | }
|
| | |
|
| | | #endregion
|
| | |
|
| | | #region ■ 一般方法___________________________
|
| | |
|
| | | /// <summary>
|
| | | /// 计算图片的真实高宽度
|
| | | /// </summary>
|
| | | /// <param name="i_size"></param>
|
| | | /// <returns></returns>
|
| | | public int GetPictrueRealSize(int i_size)
|
| | | {
|
| | | return HdlControlLogic.Current.GetPictrueRealSize(i_size);
|
| | | }
|
| | |
|
| | | #endregion
|
| | | }
|
| | | }
|
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Shared.Phone.UserCenter |
| | | { |
| | | /// <summary> |
| | | /// RowLayout的最初原型 |
| | | /// </summary> |
| | | public class RowLayoutBase : RowLayout |
| | | { |
| | | #region ■ 初始化_____________________________ |
| | | |
| | | /// <summary> |
| | | /// FrameLayout的最初原型 |
| | | /// </summary> |
| | | public RowLayoutBase() |
| | | { |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 一般方法___________________________ |
| | | |
| | | /// <summary> |
| | | /// 计算图片的真实高宽度 |
| | | /// </summary> |
| | | /// <param name="i_size"></param> |
| | | /// <returns></returns> |
| | | public int GetPictrueRealSize(int i_size) |
| | | { |
| | | return HdlControlLogic.Current.GetPictrueRealSize(i_size); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 控件移除 |
| | | /// </summary> |
| | | public override void RemoveFromParent() |
| | | { |
| | | if (this.Parent != null) |
| | | { |
| | | base.RemoveFromParent(); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ☆☆移除全部控件☆☆ |
| | | /// </summary> |
| | | public override void RemoveAll() |
| | | { |
| | | if (this.Parent != null) |
| | | { |
| | | base.RemoveAll(); |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | } |
| | | } |