黄学彪
2020-12-16 0d9f64668fd7350d6a21fd157e32009a96d98134
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using System;
using System.Collections.Generic;
using System.Text;
 
namespace Shared.Phone
{
    /// <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
    }
}