/// <summary>
        /// 读取设置
        /// </summary>
        /// <returns></returns>
        private async Task <OverallViewSettings> GetLocalSettings()
        {
            StorageFolder folder = ApplicationData.Current.LocalFolder;
            StorageFile   f      = await folder.TryGetItemAsync("Setting.dat") as StorageFile;

            if (f != null)
            {
                BinaryFormatter binaryFormatter = new BinaryFormatter();
                using (FileStream stream = new FileStream(f.CreateSafeFileHandle(), FileAccess.Read))
                {
                    try
                    {
                        if (stream.CanRead && stream.Length != 0)
                        {
                            OverallViewSettings settings = (OverallViewSettings)binaryFormatter.Deserialize(stream);
                            settings.StreamDeCode();
                            return(settings);
                        }
                        else
                        {
                            return(null);
                        }
                    }
                    catch { return(null); }
                }
            }
            return(null);
        }
        private async void InitRes()
        {
            _viewSettings = await GetLocalSettings();

            if (_viewSettings is null)
            {
                _viewSettings = new OverallViewSettings();
            }
            (Window.Current.Content as Frame).RequestedTheme = _viewSettings.AppThemeMode ? ElementTheme.Light : ElementTheme.Dark;
            WordBook.SelectedDic = _viewSettings.SelectedDic;
        }