IF.Lastfm/IF.Lastfm.Demo.Apollo/Pages/ApiTest.xaml.cs

39 lines
1.2 KiB
C#
Raw Normal View History

2013-06-14 17:44:55 +01:00
using System;
using System.Windows;
using Microsoft.Phone.Controls;
2013-06-15 16:26:30 +01:00
namespace IF.Lastfm.Demo.Apollo.Pages
2013-06-14 17:44:55 +01:00
{
public partial class ApiTest : PhoneApplicationPage
{
public ApiTest()
{
InitializeComponent();
}
private void OnScrobblingLinkClick(object sender, RoutedEventArgs e)
{
2013-06-15 16:26:30 +01:00
NavigationService.Navigate(new Uri("/Pages/TrackApi/Scrobbling.xaml", UriKind.Relative));
2013-06-14 17:44:55 +01:00
}
private void OnAppBarSettingsClick(object sender, EventArgs e)
{
throw new NotImplementedException();
}
private void OnHistoryLinkClick(object sender, RoutedEventArgs e)
{
2013-06-15 16:26:30 +01:00
NavigationService.Navigate(new Uri("/Pages/UserApi/History.xaml", UriKind.Relative));
}
2013-06-15 17:02:11 +01:00
private void OnRecentStationsLinkClick(object sender, RoutedEventArgs e)
{
NavigationService.Navigate(new Uri("/Pages/UserApi/RecentStations.xaml", UriKind.Relative));
}
2013-07-01 23:18:06 +01:00
private void OnGetArtistInfoLinkClick(object sender, RoutedEventArgs e)
{
NavigationService.Navigate(new Uri("/Pages/ArtistApi/GetArtistInfo.xaml", UriKind.Relative));
}
2013-06-14 17:44:55 +01:00
}
}