[[メインページ]]

*リソースの読み込み [#qeb44950]
プログラム中にリソースとして格納したフォルダとファイルの読み込み方法。
この場合の読み込みは、ロケールを自動判別は効かないので自分で、res/ja/ などとしてフォルダを読み込む必要あり。

 root/Images/Image1.png 
 root/Images/Image2.png 
 root/Images/Image3.png 
 root/Images/Image4.png
 
 var packageLocation = Windows.ApplicationModel.Package.Current.InstalledLocation; 
 var imagesFolder = await packageLocation.GetFolderAsync("Images"); 
 var image = await imagesFolder.GetFileAsync(“Image1.png”);
 
 // if you want the file as a stream (say to put into a Bitmap control 
 var imageStreamRef = RandomAccessStreamReference.CreateFromFile(image);

Creating an IStorageFile out of a Local Resource in WinRT (C#) 

http://devlicio.us/blogs/derik_whittaker/archive/2012/06/26/creating-an-istoragefile-out-of-a-local-resource-in-winrt-c.aspx

*リソースの指定方法いろいろ [#tf8799c8]
http://msdn.microsoft.com/ja-jp/library/windows/apps/xaml/hh965322.aspx



*パフォーマンス [#j9cb0b49]

**Metro スタイル アプリのパフォーマンスを改善する方法 [#r9d62d07]
http://blogs.msdn.com/b/windowsappdev_ja/archive/2012/04/10/metro.aspx