예제 #1
0
        public async Task <int> loadChapter()
        {
            Debug.WriteLine(this + "loadChapter start");
            int ret = await m_content.loadData();

            return(ret);
        }
예제 #2
0
        //private void S_content_LoadMultiChapterCompleted(object sender, contentProvider.LoadChapterCompletedEventArgs e)
        //{
        //    browserPath.Text = e.path;
        //}

        private async void testWriteData()
        {
            content c = new content();
            await c.loadData();

            c.m_words.Add(new word("心配(TÂM PHỐI)"));
            await c.saveData();
        }