コード例 #1
0
        internal WindowRect GetRect()
        {
            WindowRect rect = new WindowRect();

            rect.Height = wordsManager.GetConfig().ListWidowHeight;
            rect.Width  = wordsManager.GetConfig().ListWidowWidth;
            rect.SetRightBottom();
            return(rect);
        }
コード例 #2
0
 public MainModel(MainWindow mainWindow)
 {
     this.mainWindow = mainWindow;
     wordsManager    = WordsManager.Instance;
     config          = wordsManager.GetConfig();
     RunTask();
     GoogleTranslator googleTranslator = new GoogleTranslator();
 }