示例#1
0
        /// <summary>
        /// Sets initial values for some fields that need it.
        /// </summary>
        private void InitializeFields()
        {
            languageViewModel = new LanguageViewModel(); // default language = english
            currentInputWord  = string.Empty;
            filter            = WordType.All;
            timer             = new DispatcherTimer();

            timer.Tick += TimerTick;
        }
        /// <summary>
        /// Sets initial values for some fields that need it.
        /// </summary>
        private void InitializeFields()
        {
            languageViewModel = new LanguageViewModel(); // default language = english
            currentInputWord = string.Empty;
            filter = WordType.All;
            timer = new DispatcherTimer();

            timer.Tick += TimerTick;
        }