예제 #1
0
파일: App.xaml.cs 프로젝트: garcia/unicodex
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            if (Settings.Default.Preferences == null)
            {
                Settings.Default.Preferences = new Preferences();
            }

            if (Settings.Default.Favorites == null)
            {
                Settings.Default.Favorites = new Favorites();
            }

            if (Settings.Default.UserTags == null)
            {
                Settings.Default.UserTags = new UserTags();
            }

            Preferences = Settings.Default.Preferences;
            Favorites   = Settings.Default.Favorites;
            UserTags    = Settings.Default.UserTags;

            Characters = new Characters();
            TagGroups  = new TagGroups(Characters);

            MainWindow = new MainWindow();
        }
예제 #2
0
 public FirstLetterOfTagsCache(TagGroups tagGroups) : base()
 {
     this.tagGroups = tagGroups;
 }
예제 #3
0
 public TagsCache(TagGroups tagGroups) : base()
 {
     this.tagGroups = tagGroups;
 }