public EditViewModel(Client.ServiceReference1.ServiceDictonaryClient proxi, int indexLanguage, string inputText, BindableCollection <string> words, IWindowManager windowManager) { this.proxy = proxi; this.InputText = inputText; this.indexLanguage = indexLanguage; Languages = new BindableCollection <string>(new string[] { "Русский - Английский", "English - Russian" }); SelectedLanguage = Languages.ElementAt(indexLanguage); wordsTranslate = new BindableCollection <string>(); Words = words; _windowManager = windowManager; }