/// <summary>
		/// 
		/// </summary>
		/// <param name="obTag"></param>
		internal override void ConvertFromTag(ITag obTag)
		{
			base.ConvertFromTag (obTag);

			//
			// Get the rows from table.
			//

			TableTag obTableTag = obTag as TableTag;
			TableRow [] oRows = obTableTag.Rows;
			if (null != oRows)
			{
				Int32 iCount = oRows.Length;
				for(Int32 i = 0; i < iCount; i++)
				{
					RowData oRowData = new RowData(oRows[i], this);
					m_Rows.Add(oRowData);
				}
			}
		}
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="obTag"></param>
        internal override void ConvertFromTag(ITag obTag)
        {
            base.ConvertFromTag(obTag);

            //
            // Get the rows from table.
            //

            TableTag obTableTag = obTag as TableTag;

            TableRow [] oRows = obTableTag.Rows;
            if (null != oRows)
            {
                Int32 iCount = oRows.Length;
                for (Int32 i = 0; i < iCount; i++)
                {
                    RowData oRowData = new RowData(oRows[i], this);
                    m_Rows.Add(oRowData);
                }
            }
        }
		/// <summary>
		/// 
		/// </summary>
		/// <param name="oData"></param>
		/// <returns></returns>
		public Int32 Add(RowData oData)
		{
			return List.Add(oData);
		}
 /// <summary>
 ///
 /// </summary>
 /// <param name="oData"></param>
 /// <returns></returns>
 public Int32 Add(RowData oData)
 {
     return(List.Add(oData));
 }
		/// <summary>
		/// Creates new instance of <see cref="ColumnData"></see> object.
		/// </summary>
		/// <param name="tcol"></param>
		public ColumnData(TableColumn tcol, RowData obRow)
			:base(tcol)
		{
			this.m_Row = obRow;
			ConvertFromTag(tcol);
		}
Esempio n. 6
0
 /// <summary>
 /// Creates new instance of <see cref="ColumnData"></see> object.
 /// </summary>
 /// <param name="tcol"></param>
 public ColumnData(TableColumn tcol, RowData obRow)
     : base(tcol)
 {
     this.m_Row = obRow;
     ConvertFromTag(tcol);
 }