コード例 #1
0
        internal Controler()
        {
            SaveAndLoadData saveAndLoadData = new SaveAndLoadData();
            Tasks           loadTasks       = new Tasks();

            loadTasks = saveAndLoadData.LoadTasksXml();
            if (loadTasks.ToDos != null)
            {
                tasks = loadTasks;
            }

            StartMethod();
        }
コード例 #2
0
        internal void SaveTasks()
        {
            SaveAndLoadData saveAndLoadData = new SaveAndLoadData();

            saveAndLoadData.SaveTasksXml(tasks);
        }