public ViewModelPronunciations() { _pronunciations = Pronunciations.Instance; _pronunciationCollection = new ObservableCollection <Pronunciation>(); PronunciationWord = ""; PronunciationSound = ""; SelectionMode = false; _notifier = new TaskNotifier(this); _loadPronunciations(); }
public ViewModelAbbreviations() { _abbreviations = Abbreviations.Instance; _abbreviationCollection = new ObservableCollection <Abbreviation>(); AbbreviationCode = ""; AbbreviationPhrase = ""; _notifier = new TaskNotifier(this); SelectionMode = false; _loadAbbreviations(); }
public ViewModelChat() { _selectionModeChanged = false; _phraseSelected = false; _categories = new ViewModelCategories(); _phrases = new ObservableCollection <IGrouping <ViewModelCategory, ViewModelPhrase> >(); _sort = Sorts.Category; _sortedPhrases = new ObservableCollection <ViewModelPhrase>(); _categoryList = new ObservableCollection <ViewModelCategory>(); _viewModelMessage = new ViewModelMessage(); _notifier = new TaskNotifier(this); ChatMode(); }
public ViewModelMessage() { _notifier = new TaskNotifier(this); _selectionStart = 0; _selectionLength = 0; _message = ""; _oldMessage = ""; _oldSelectionStart = 0; _abbreviations = Abbreviations.Instance; _settings = Settings.Instance; _abbreviationDictionary = new Dictionary <string, string>(); _loadAbbreviations(); _voiceBox = new VoiceBox(); }