|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
namespace RoutedCommandBindingSample
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
var mainWindow = new MainWindow();
var player = new SimpleMediaPlayer();
player.SourceUri = "http://www.pure.fm/prog.m3u";
mainWindow.DataContext = player;
mainWindow.Show();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Doug Schott has been developing .NET applications for the past 8 years.
He is currently working as a senior software consultant at Fidelity National Financial.