// 给数组中设值 public void SetValue(string strName, int nValue) { ItemWidth width = m_document.widthList.GetItemWidth(this.GetLevel()); if (width != null) { width.SetValue(strName, nValue); } }
public PartWidth GetPartWidth(string strName) { ItemWidth width = m_document.widthList.GetItemWidth(this.GetLevel()); if (width == null) { return(null); } return(width.GetPartWidth(strName)); }
// 从数组中取值 public int GetValue(string strName) { ItemWidth width = m_document.widthList.GetItemWidth(this.GetLevel()); if (width == null) { return(-1); } return(width.GetValue(strName)); }
public void Add(ItemWidth width) { InnerList.Add(width); }