コード例 #1
0
 /// <summary>
 /// All code related to loading data when app starts
 /// </summary>
 /// <param name="e"></param>
 /// <returns></returns>
 private static void EnsureWindow()
 {
     // Load all lists since we will need them anyway
     // This must block as the app can not resume without this data being loaded
     IconItemSource.LoadIconsList();
     SystemColorsItemSource.LoadSystemColors();
     SystemBrushItemSource.LoadSystemBrushes();
     UniversalPlatformVersionSource.LoadWindowsVersionContracts();
 }
コード例 #2
0
 public static void ClassInitialize(TestContext context)
 {
     IconItemSource.LoadIconsList();
 }