Exemple #1
0
            public ColumnStylesRow AddColumnStylesRow(TableStylesRow parentTableStylesRowByTableRelatedColumns, string ColumnID, string ColumnType, string ColumnFormat)
            {
                ColumnStylesRow rowColumnStylesRow = ((ColumnStylesRow)(this.NewRow()));

                object[] columnValuesArray = new object[] {
                    null,
                    ColumnID,
                    ColumnType,
                    ColumnFormat
                };
                if ((parentTableStylesRowByTableRelatedColumns != null))
                {
                    columnValuesArray[0] = parentTableStylesRowByTableRelatedColumns[0];
                }
                rowColumnStylesRow.ItemArray = columnValuesArray;
                this.Rows.Add(rowColumnStylesRow);
                return(rowColumnStylesRow);
            }
Exemple #2
0
 public TableStylesRowChangeEvent(TableStylesRow row, global::System.Data.DataRowAction action)
 {
     this.eventRow    = row;
     this.eventAction = action;
 }