Пример #1
0
 public void Dispose()
 {
     this.ClearCache();
     _elements = null;
     _parent._childReferences.Remove(this);
     _parent = null;
 }
Пример #2
0
 public TrackSliderVisualStyleReference(TrackSliderVisualStyle parent)
 {
     _parent = parent;
     _parent._childReferences.Add(this);
     _elements = new Dictionary <int, Image>();
 }