示例#1
0
        public Resource()
        {
            PathNoImage  = "pack://application:,,,/WorldOfWords;component/Resources/Images/Image.png";
            Theme        = "pack://application:,,,/WorldOfWords;component/Themes/DarkTheme.xaml";
            ThemePath    = "pack://application:,,,/MahApps.Metro;component/Styles/Themes/Dark.Blue.xaml";
            LanguagePath = "pack://application:,,,/WorldOfWords;component/Resources/LanguageEnglish.xaml";
            Language     = "English";
            var dbc = new WorldOfWordsDbContext();

            WordService  = new WordService(dbc);
            ThemeService = new ThemeService(dbc);
            Level        = new Level();
            TrainDate    = new TrainDate();
        }
示例#2
0
 public WordService(WorldOfWordsDbContext context)
 {
     _context = context;
 }
示例#3
0
 public ThemeService(WorldOfWordsDbContext context)
 {
     _context = context;
 }