Files
IPTVplayer/TV Player WPF/App.xaml.cs
T
2024-01-21 07:44:19 +02:00

26 lines
552 B
C#

using System.Windows;
using TV_Player.ViewModels;
namespace TV_Player
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private TVPlayerViewModel _tvPlayer;
protected override void OnStartup(StartupEventArgs e)
{
_tvPlayer = new TVPlayerViewModel();
base.OnStartup(e);
}
protected override void OnExit(ExitEventArgs e)
{
_tvPlayer = null;
base.OnExit(e);
}
}
}