コード例 #1
0
ファイル: RowEventArgs.cs プロジェクト: ibeae/ThinkAway.net
 /// <summary>
 /// Initializes a new instance of the RowEventArgs class with
 /// the specified Row source, row index, start index, end index
 /// and affected Cell
 /// </summary>
 /// <param name="source">The Row that originated the event</param>
 /// <param name="rowIndex">The index of the Row</param>
 /// <param name="cell">The affected Cell</param>
 /// <param name="cellFromIndex">The start index of the affected Cell(s)</param>
 /// <param name="cellToIndex">The end index of the affected Cell(s)</param>
 /// <param name="eventType">The type of event</param>
 public RowEventArgs(Row source, int rowIndex, Cell cell, int cellFromIndex, int cellToIndex, RowEventType eventType) : base()
 {
     this.source        = source;
     this.rowIndex      = rowIndex;
     this.cell          = cell;
     this.cellFromIndex = cellFromIndex;
     this.cellToIndex   = cellToIndex;
     this.eventType     = eventType;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the RowEventArgs class with
 /// the specified Row source, row index, start index, end index
 /// and affected Cell
 /// </summary>
 /// <param name="source">The Row that originated the event</param>
 /// <param name="rowIndex">The index of the Row</param>
 /// <param name="cell">The affected Cell</param>
 /// <param name="cellFromIndex">The start index of the affected Cell(s)</param>
 /// <param name="cellToIndex">The end index of the affected Cell(s)</param>
 /// <param name="eventType">The type of event</param>
 private RowEventArgs(Row source, int rowIndex, Cell cell, int cellFromIndex, int cellToIndex, RowEventType eventType)
     : base()
 {
     this.source   = source;
     this.rowIndex = rowIndex;
     if (source != null)
     {
         rowIndex = source.Index;
     }
     this.cell          = cell;
     this.cellFromIndex = cellFromIndex;
     this.cellToIndex   = cellToIndex;
     this.eventType     = eventType;
 }
コード例 #3
0
ファイル: RowEventArgs.cs プロジェクト: ibeae/ThinkAway.net
 /// <summary>
 /// Initializes a new instance of the RowEventArgs class with
 /// the specified Row source, row index, start index, end index
 /// and affected Cell
 /// </summary>
 /// <param name="source">The Row that originated the event</param>
 /// <param name="eventType">The type of event</param>
 public RowEventArgs(Row source, RowEventType eventType) : this(source, -1, null, -1, -1, eventType)
 {
 }
コード例 #4
0
		/// <summary>
		/// Initializes a new instance of the RowEventArgs class with 
		/// the specified Row source, row index, start index, end index 
		/// and affected Cell
		/// </summary>
		/// <param name="source">The Row that originated the event</param>
		/// <param name="eventType">The type of event</param>
		public RowEventArgs(Row source, RowEventType eventType) : this(source, -1, null, -1, -1, eventType)
		{
			
		}
コード例 #5
0
		/// <summary>
		/// Initializes a new instance of the RowEventArgs class with 
		/// the specified Row source, row index, start index, end index 
		/// and affected Cell
		/// </summary>
		/// <param name="source">The Row that originated the event</param>
		/// <param name="rowIndex">The index of the Row</param>
		/// <param name="cell">The affected Cell</param>
		/// <param name="cellFromIndex">The start index of the affected Cell(s)</param>
		/// <param name="cellToIndex">The end index of the affected Cell(s)</param>
		/// <param name="eventType">The type of event</param>
		public RowEventArgs(Row source, int rowIndex, Cell cell, int cellFromIndex, int cellToIndex, RowEventType eventType) : base()
		{
			this.source = source;
			this.rowIndex = rowIndex;
			this.cell = cell;
			this.cellFromIndex = cellFromIndex;
			this.cellToIndex = cellToIndex;
			this.eventType = eventType;
		}
コード例 #6
0
ファイル: RowEventArgs.cs プロジェクト: Ezihp/pirate
 /// <summary>
 /// Initializes a new instance of the RowEventArgs class with 
 /// the specified Row source, row index, start index, end index 
 /// and affected Cell
 /// </summary>
 /// <param name="source">The Row that originated the event</param>
 /// <param name="rowIndex">The index of the Row</param>
 /// <param name="cell">The affected Cell</param>
 /// <param name="cellFromIndex">The start index of the affected Cell(s)</param>
 /// <param name="cellToIndex">The end index of the affected Cell(s)</param>
 /// <param name="eventType">The type of event</param>
 private RowEventArgs(Row source, int rowIndex, Cell cell, int cellFromIndex, int cellToIndex, RowEventType eventType)
     : base()
 {
     this.source = source;
     this.rowIndex = rowIndex;
     if (source != null)
         rowIndex = source.Index;
     this.cell = cell;
     this.cellFromIndex = cellFromIndex;
     this.cellToIndex = cellToIndex;
     this.eventType = eventType;
 }
コード例 #7
0
ファイル: RowEventArgs.cs プロジェクト: Ezihp/pirate
 /// <summary>
 /// Initializes a new instance of the RowEventArgs class with 
 /// the specified Row source, row index, start index, end index 
 /// and affected Cell. Only for SubRow type events.
 /// </summary>
 /// <param name="source"></param>
 /// <param name="eventType"></param>
 /// <param name="parentRow"></param>
 public RowEventArgs(Row source, RowEventType eventType, Row parentRow)
     : this(source, -1, null, -1, -1, eventType)
 {
     this.parentRow = parentRow;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the RowEventArgs class with
 /// the specified Row source, row index, start index, end index
 /// and affected Cell. Only for SubRow type events.
 /// </summary>
 /// <param name="source"></param>
 /// <param name="eventType"></param>
 /// <param name="parentRow"></param>
 public RowEventArgs(Row source, RowEventType eventType, Row parentRow)
     : this(source, -1, null, -1, -1, eventType)
 {
     this.parentRow = parentRow;
 }