예제 #1
0
 public void SaveItem(object item)
 {
     if (!this.Control.Items.Contains(item))
     {
         this.Control.Items.Add(item);
     }
     ;
     TableGrid.OnItemsSourceChanged(this.Control, this.Control.Items, this.Control.Items);
 }
예제 #2
0
 public void DeleteItem(TableGridItem item)
 {
     this.Control.Items.Remove(item.Data);
     TableGrid.OnItemsSourceChanged(this.Control, this.Control.Items, this.Control.Items);
 }