예제 #1
0
        public CustomDataGridViewColumnDescriptor <T> BuildAndAdd(CustomDataGridView <T> table)
        {
            var columnDescriptor = Build();

            table.AddColumn(columnDescriptor);
            return(columnDescriptor);
        }
예제 #2
0
 public CustomDataGridViewRow(CustomDataGridView <T> table, T item)
 {
     if ((table == null) || (item == null))
     {
         throw new ArgumentNullException();
     }
     this.table = table;
     this.item  = item;
     createCells();
 }
 public CustomDataGridViewRow(CustomDataGridView <T> table, T item)
 {
     if ((table == null) || (item == null))
     {
         throw new ArgumentNullException();
     }
     this.table = table;
     this.item  = item;
     createCells();
     subscribeToItemEvents();
     subscribeToMultilevelItemEvents();
     subscribeToExternalUpdateEvents();
 }
예제 #4
0
 public CustomDataGridViewColumnDescriptorBuilder(CustomDataGridView <T> table)
 {
     this.table = table;
 }