/// <summary> /// Adds a empty Vocabbox into the list /// </summary> /// Checks if a vocabBox with this name already exists, if not the vocabBox is added into the list and is then selected. /// <returns>Returns if the operation was successfull</returns> /// <param name="newBox">The vocabBox to add into the list</param> public bool CreateVocabBox(VocabBox newBox) { if (CheckExistenceVocabBox(newBox.getName(), newBox.getFilePath())) { vocabBoxes.Add(newBox); selectVocabBox(vocabBoxes.Count - 1); } return(true); }