public MainPage(SongService SongService) { InitializeComponent(); this.songService = SongService; this.powerhourService = new PowerhourService(mediaElement); SetCurrentPowerhour(new Powerhour()); }
// Executes when the user navigates to this page. protected override void OnNavigatedTo(NavigationEventArgs e) { powerhourService = (PowerhourService)e.Content; }
public PowerhourModel(SongService songService, PowerhourService powerhourService) { }