示例#1
0
        /// <summary>
        /// Removes the project from the selected list.  This method is invoked by the RemoveCommand.
        /// </summary>
        public void RemoveProject()
        {
            ProjectViewModel selectedProjectVM = SelectedProjects.FirstOrDefault(p => p.IsSelected == true);

            UnassignedProjects.Add(selectedProjectVM);
            SelectedProjects.Remove(selectedProjectVM);
        }
示例#2
0
 private void ProjectDeleted(Project project)
 {
     SelectedProjects.Remove(project);
 }