コード例 #1
0
        private void btnImageLiveTile_Click(object sender, RoutedEventArgs e)
        {
            LiveTileManager.SetLiveTile("neptune.png", 20);

            txtStatus.Text = "Press the Windows-Key to minimize the app and see the live tile.";
        }
コード例 #2
0
        private void btnAnimatedLiveTile_Click(object sender, RoutedEventArgs e)
        {
            LiveTileManager.SetLiveTileAnimated("neptune.png", "Hi, I'm an animated tile notification!", 30);

            txtStatus.Text = "Press the Windows-Key to minimize the app and see the live tile.";
        }
コード例 #3
0
        private void btnTextLiveTile_Click(object sender, RoutedEventArgs e)
        {
            LiveTileManager.SetLiveTile("Hi!", "20 seconds", 20);

            txtStatus.Text = "Press the Windows-Key to minimize the app and see the live tile.";
        }