mirror of
https://github.com/PacktPublishing/Learn-WinUI-3-Second-Edition.git
synced 2026-06-20 12:23:09 +00:00
Add starter project for Chapter 13
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using Microsoft.UI.Xaml;
|
||||
using Uno.Resizetizer;
|
||||
|
||||
namespace UnoMediaCollection
|
||||
{
|
||||
public sealed partial class AppHead : App
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes the singleton application object. This is the first line of authored code
|
||||
/// executed, and as such is the logical equivalent of main() or WinMain().
|
||||
/// </summary>
|
||||
public AppHead()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invoked when the application is launched normally by the end user. Other entry points
|
||||
/// will be used such as when the application is launched to open a specific file.
|
||||
/// </summary>
|
||||
/// <param name="args">Details about the launch request and process.</param>
|
||||
protected override void OnLaunched(LaunchActivatedEventArgs args)
|
||||
{
|
||||
base.OnLaunched(args);
|
||||
|
||||
MainWindow.SetWindowIcon();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user