twitch vod downloading done
ffmpeg essentials fix Project reorganized git lfs ffmpeg removed ffmpeg added
This commit is contained in:
59
VDownload.Core/VDownload.Core.Views/BaseWindow.xaml.cs
Normal file
59
VDownload.Core/VDownload.Core.Views/BaseWindow.xaml.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using Microsoft.UI.Xaml;
|
||||
using Microsoft.UI.Xaml.Controls;
|
||||
using Microsoft.UI.Xaml.Controls.Primitives;
|
||||
using Microsoft.UI.Xaml.Data;
|
||||
using Microsoft.UI.Xaml.Input;
|
||||
using Microsoft.UI.Xaml.Media;
|
||||
using Microsoft.UI.Xaml.Navigation;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices.WindowsRuntime;
|
||||
using VDownload.Core.ViewModels;
|
||||
using Windows.Foundation;
|
||||
using Windows.Foundation.Collections;
|
||||
|
||||
namespace VDownload.Core.Views
|
||||
{
|
||||
public sealed partial class BaseWindow : Window
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public XamlRoot XamlRoot => this.Root.XamlRoot;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region EVENTS
|
||||
|
||||
public event EventHandler RootLoaded;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region CONSTRUCTORS
|
||||
|
||||
public BaseWindow(BaseViewModel viewModel)
|
||||
{
|
||||
this.InitializeComponent();
|
||||
|
||||
this.ExtendsContentIntoTitleBar = true;
|
||||
this.SetTitleBar(this.AppTitleBar);
|
||||
|
||||
this.Root.DataContext = viewModel;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region PRIVATE METHODS
|
||||
|
||||
private void Root_Loaded(object sender, RoutedEventArgs e) => RootLoaded?.Invoke(this, EventArgs.Empty);
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user