public void Bind(AllTimeEntriesView.DateGroup data) { if (this.data != null) { this.data.Updated -= OnDateGroupUpdated; this.data = null; } this.data = data; this.data.Updated += OnDateGroupUpdated; Rebind(); }
protected override void Dispose(bool disposing) { if (disposing) { if (propertyTracker != null) { propertyTracker.Dispose(); propertyTracker = null; } if (data != null) { data.Updated -= OnDateGroupUpdated; data = null; } if (models != null) { models.Clear(); models = null; } } base.Dispose(disposing); }
public void Bind(AllTimeEntriesView.DateGroup data) { this.data = data; Rebind(); }