Пример #1
0
 private void RefreshView(Project project)
 {
     olvProject.SetObjects(project.Features);
     var feature = project.Features.FirstOrDefault();
     if (feature != null)
     {
         olvProject.SelectObject(feature);
     }
     else
     {
         project.CurrentFeature = null;
     }
 }
Пример #2
0
 public ApplicationState()
 {
     Settings = new ApplicationOptions();
     Project = new Project();
 }