コード例 #1
0
        public StatisticsWindowViewModel()
        {
            #if DEBUG
            if (DesignerProperties.GetIsInDesignMode(new DependencyObject()))
            {
                return;
            }
            #endif

            _statisticsShowViewModel = new StatisticsShowViewModel();
            _dictionaryListViewModel = new DictionaryListViewModel();
        }
コード例 #2
0
        public StudyWindowViewModel()
        {
            #if DEBUG
            if (DesignerProperties.GetIsInDesignMode(new DependencyObject()))
            {
                return;
            }
            #endif

            _dictionaryListViewModel = new DictionaryListViewModel();
            _wordShowViewModel       = new WordShowViewModel();
            _userListViewModel       = new UserListViewModel();
        }