Пример #1
0
 private void RemoveLanguages(object obj)
 {
     if (SelectedSelectedLanguages != null && SelectedSelectedLanguages.Count > 0)
     {
         var selection = new ArrayList(SelectedSelectedLanguages);
         foreach (CultureItemViewModel l in selection)
         {
             SelectedLanguages.Remove(l);
         }
     }
 }
 public void MoveToPossible(CustomCell cell)
 {
     for (int i = 0; i < SelectedLanguages.Count; i++)
     {
         if (cell.Equals(SelectedLanguages[i]))
         {
             if (CheckInStarting(cell))
             {
                 PossibleLanguages.Add(cell);
                 SelectedLanguages.Remove(cell);
                 LanguagesLeft += 1;
             }
         }
     }
 }