internal WindowRect GetRect() { WindowRect rect = new WindowRect(); rect.Height = wordsManager.GetConfig().ListWidowHeight; rect.Width = wordsManager.GetConfig().ListWidowWidth; rect.SetRightBottom(); return(rect); }
public MainModel(MainWindow mainWindow) { this.mainWindow = mainWindow; wordsManager = WordsManager.Instance; config = wordsManager.GetConfig(); RunTask(); GoogleTranslator googleTranslator = new GoogleTranslator(); }