private void RefreshView(Project project) { olvProject.SetObjects(project.Features); var feature = project.Features.FirstOrDefault(); if (feature != null) { olvProject.SelectObject(feature); } else { project.CurrentFeature = null; } }
public ApplicationState() { Settings = new ApplicationOptions(); Project = new Project(); }