コード例 #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
ファイル: Row.cs プロジェクト: rabidbob/aodl-reloaded
		/// <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;
		}