private void RemoveHeadFromProjetListToRemainingList()
 {
     RemainingHeads.Add(SelectedHeadForProject);
     HeadsForProject.Remove(SelectedHeadForProject);
     SelectedRemainingHead  = SelectedHeadForProject;
     SelectedHeadForProject = null;
 }
        private void SaveButtonClicked()
        {
            MessageService.Instance.Reset();
            string message = "";

            if (RemainingHeads != null && RemainingHeads.Count() > 0)
            {
                int     removedItems   = _projectManager.RemoveHeadsFromProject(SelectedProject, RemainingHeads);
                Message removedMessage = MessageService.Instance.GetLatestMessage();
                if (removedItems > 0)
                {
                    message += removedMessage.MessageText + Environment.NewLine;
                }
            }
            if (HeadsForProject != null && HeadsForProject.Count() > 0)
            {
                int     addedItems   = _projectManager.AddHeadsToProject(SelectedProject, HeadsForProject);
                Message addedMessage = MessageService.Instance.GetLatestMessage();
                if (addedItems > 0)
                {
                    message += addedMessage.MessageText;
                }
            }
            NotificationMessage = message;
        }
 private void AddHeadInProjetListFromRemainingList()
 {
     HeadsForProject.Add(SelectedRemainingHead);
     RemainingHeads.Remove(SelectedRemainingHead);
     SelectedHeadForProject = SelectedRemainingHead;
     SelectedRemainingHead  = null;
 }