Ejemplo n.º 1
0
        private void AddSkillCommand_Execute(object parameter)
        {
            foreach (var item in SelectedAllSkills)
            {
                MemeberSkills.Add(item);
            }

            SelectedAllSkills.Clear();

            foreach (var item in MemeberSkills)
            {
                AllSkills.Remove(item);
            }
        }
Ejemplo n.º 2
0
 private void RefreshLists()
 {
     MemeberSkills.Clear();
     crewMember = Client.GetEntityById(EntityType.CrewMember, gid) as CrewMember;
     foreach (var item in crewMember.Skills)
     {
         MemeberSkills.Add(item);
         AllSkills.Remove(item);
     }
     RaisePropertyChanged("FirstName");
     RaisePropertyChanged("FamilyName");
     RaisePropertyChanged("Email");
     RaisePropertyChanged("Phone");
     RaisePropertyChanged("Username");
     RaisePropertyChanged("Password");
     RaisePropertyChanged("UserType");
     try
     {
         Crew = Client.GetEntityById(EntityType.Crew, crewMember.Crew) as Crew;
     }
     catch { }
 }