Esempio n. 1
0
        private void UpdateAppTiles()
        {
            var init = ApplicationData.Current.LocalSettings.Values[LocalSettingNames.TilesInitialized];

            if (init == null || (init is bool && !(bool)init))
            {
                Dictionary <string, string> tiles = new Dictionary <string, string>();
                tiles.Add("2f829599e0301ff8", "DataImages/Tile1.jpg");
                tiles.Add("2f829599e0301ff9", "DataImages/Tile2.jpg");
                tiles.Add("2f829599e0301ffa", "DataImages/Tile3.jpg");
                tiles.Add("2f829599e0301ffb", "DataImages/Tile4.jpg");
                TileServices.CreateCycleTile(tiles);
                ApplicationData.Current.LocalSettings.Values[LocalSettingNames.TilesInitialized] = true;
            }
        }
Esempio n. 2
0
        private void UpdateAppTiles()
        {
            var init = ApplicationData.Current.LocalSettings.Values[LocalSettingNames.TilesInitialized];

            if (init == null || (init is bool && !(bool)init))
            {
                Dictionary <string, string> tiles = new Dictionary <string, string>();
                tiles.Add("9f187f0a90da337f", "DataImages/Tile1.jpg");
                tiles.Add("9f187f0a90da3380", "DataImages/Tile2.jpg");
                tiles.Add("9f187f0a90da3381", "DataImages/Tile3.jpg");
                tiles.Add("9f187f0a90da3382", "DataImages/Tile4.jpg");
                tiles.Add("9f187f0a90da3383", "DataImages/Tile5.jpg");
                TileServices.CreateCycleTile(tiles);
                ApplicationData.Current.LocalSettings.Values[LocalSettingNames.TilesInitialized] = true;
            }
        }
Esempio n. 3
0
 private void UpdateAppTiles()
 {
     TileServices.CreateCycleTile("DataImages/Tile1.jpg", "DataImages/Tile2.jpg", "DataImages/Tile3.jpg", "DataImages/Tile4.jpg", "DataImages/Tile5.jpg");
 }