示例#1
0
        /// <summary>
        /// Inits the standards.
        /// </summary>
        private void InitStandards()
        {
            this.Cells           = new CellCollection();
            this.Cells.Removed  += CellCollection_Removed;
            this.Cells.Inserted += CellCollection_Inserted;

            this.CellSpanCollection           = new CellSpanCollection();
            this.CellSpanCollection.Inserted += CellSpanCollection_Inserted;
            this.CellSpanCollection.Removed  += CellSpanCollection_Removed;
        }
示例#2
0
文件: Row.cs 项目: smallkid/aodl
        /// <summary>
        /// Inits the standards.
        /// </summary>
        private void InitStandards()
        {
            this.CellCollection           = new CellCollection();
            this.CellCollection.Removed  += new AODL.Document.Collections.CollectionWithEvents.CollectionChange(CellCollection_Removed);
            this.CellCollection.Inserted += new AODL.Document.Collections.CollectionWithEvents.CollectionChange(CellCollection_Inserted);

//is possible!!!!
//			if(this.Document is AODL.Document.TextDocuments.TextDocument)
//			{
            this.CellSpanCollection           = new CellSpanCollection();
            this.CellSpanCollection.Inserted += new AODL.Document.Collections.CollectionWithEvents.CollectionChange(CellSpanCollection_Inserted);
            this.CellSpanCollection.Removed  += new AODL.Document.Collections.CollectionWithEvents.CollectionChange(CellSpanCollection_Removed);
//			}
        }
示例#3
0
		/// <summary>
		/// Inits the standards.
		/// </summary>
		private void InitStandards()
		{
			this.Cells				= new CellCollection();
			this.Cells.Removed		+= CellCollection_Removed;
			this.Cells.Inserted	+= CellCollection_Inserted;

			this.CellSpanCollection				= new CellSpanCollection();
			this.CellSpanCollection.Inserted	+= CellSpanCollection_Inserted;
			this.CellSpanCollection.Removed		+= CellSpanCollection_Removed;
		}