Example #1
0
        // 给数组中设值
        public void SetValue(string strName, int nValue)
        {
            ItemWidth width = m_document.widthList.GetItemWidth(this.GetLevel());

            if (width != null)
            {
                width.SetValue(strName, nValue);
            }
        }
Example #2
0
        public PartWidth GetPartWidth(string strName)
        {
            ItemWidth width = m_document.widthList.GetItemWidth(this.GetLevel());

            if (width == null)
            {
                return(null);
            }

            return(width.GetPartWidth(strName));
        }
Example #3
0
        // 从数组中取值
        public int GetValue(string strName)
        {
            ItemWidth width = m_document.widthList.GetItemWidth(this.GetLevel());

            if (width == null)
            {
                return(-1);
            }

            return(width.GetValue(strName));
        }
Example #4
0
 public void Add(ItemWidth width)
 {
     InnerList.Add(width);
 }
Example #5
0
		public void Add(ItemWidth width)
		{
			InnerList.Add(width);
		}