Esempio n. 1
0
 /// <summary>
 /// Constructor that allows a custom binding to be supplied.
 /// </summary>
 public DisplaySetTree(ObservableList <IImageSet> imageSets, DisplaySetTreeItemBingding binding)
 {
     _bingding  = binding;
     _tree      = new Tree <DisplaySetTreeGroupItem>(binding);
     _imageSets = new ObservableList <IImageSet>();
     Initialize(imageSets);
 }
Esempio n. 2
0
 public void Dispose()
 {
     _tree = null;
     _imageSets.Clear();
     _imageSets = null;
     _bingding  = null;
 }