コード例 #1
0
        private async void button_Click_1(object sender, TappedRoutedEventArgs e)
        {
            Frame rootFrame = Window.Current.Content as Frame;

            // Navigate to the next page, with info in the parameters whether to enable the title bar UI or not.
            var testManga = await MangaUtils.getFileFromAssets("test.cbz");

            rootFrame.Navigate(typeof(ComicView), new SimpleMangaData(testManga, "Test Comic", "Test Chapter"));
        }
コード例 #2
0
 /*public virtual void cacheImage()
  * {
  *
  * }*/
 public async Task <MangaImage> getImageAtIdx(int i)
 {
     return(new MangaImage(await MangaUtils.LoadImageFromAssets(@"Assets\test\cover.png")));
 }