public void Dispose() { if (dataView != null) { dataView.Dispose(); dataView.Updated -= OnDataViewUpdated; dataView = null; } }
public ExpandableProjectsView() { dataView = new ProjectAndTaskView(); dataView.Updated += OnDataViewUpdated; }
public void Dispose() { if (dataView != null) { dataView.Dispose(); dataView.Updated -= OnDataViewUpdated; dataView = null; } }
public ExpandableProjectsView() { dataView = new ProjectAndTaskView(); dataView.Updated += OnDataViewUpdated; }