コード例 #1
0
        public static UserConfig GetDefault()
        {
            UserConfig config = new UserConfig();

            config.MSToDoDetail      = MSToDoDetail.GetDefault();
            config.TomatoClockThemes = TomatoClockTheme.GetDefaultThemeList();
            config.Clocks            = Clock.GetDefaultClockList();
            config.AlarmFile         = string.Empty;

            return(config);
        }
コード例 #2
0
        public static MSToDoDetail GetDefault()
        {
            MSToDoDetail detail = new MSToDoDetail();

            List <string> dbPaths = Utils.SearchFileInPath(HardCode.MicrosoftToDoPath, HardCode.MicrosoftToDoDBName);

            if (0 < dbPaths.Count)
            {
                detail.DBPath = dbPaths[0];
            }

            return(detail);
        }