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

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

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

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

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

            return(width.GetValue(strName));
        }
Exemplo n.º 4
0
 public void Add(ItemWidth width)
 {
     InnerList.Add(width);
 }
Exemplo n.º 5
0
		public void Add(ItemWidth width)
		{
			InnerList.Add(width);
		}