/// <summary> /// Method, that reloads list of indexable projects /// </summary> private void ReloadListIndexableProjects() { Bizz.IndexedProjects.Clear(); int i = 0; foreach (Project temp in Bizz.Projects) { IndexedProject result = new IndexedProject(i, temp); Bizz.IndexedProjects.Add(result); i++; } }
/// <summary> /// Method, that reloads list of indexable projects /// </summary> private void ReloadListIndexedProjects() { CBZ.IndexedProjects.Clear(); int i = 0; foreach (Project temp in CBZ.ActiveProjects) { IndexedProject result = new IndexedProject(i, temp); CBZ.IndexedProjects.Add(result); i++; } }
/// <summary> /// Method, that reloads list of active projects /// </summary> private void ReloadListActiveProjects() { Bizz.IndexedActiveProjects.Clear(); int i = 0; foreach (Project tempProject in Bizz.Projects) { if (tempProject.Status.Id == 1) { IndexedProject result = new IndexedProject(i, tempProject); Bizz.IndexedActiveProjects.Add(result); i++; } } }