Files
Wino-Mail/Wino.Mail.WinUI/App.xaml.cs

51 lines
1.6 KiB
C#
Raw Normal View History

2024-07-19 20:31:13 +02:00
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
2024-07-12 01:11:39 +02:00
using Microsoft.UI.Xaml;
2024-07-13 03:45:55 +02:00
using Microsoft.UI.Xaml.Controls;
2024-07-19 20:31:13 +02:00
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;
using Microsoft.UI.Xaml.Input;
2024-07-13 03:45:55 +02:00
using Microsoft.UI.Xaml.Media;
2024-07-19 20:31:13 +02:00
using Microsoft.UI.Xaml.Navigation;
using Microsoft.UI.Xaml.Shapes;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace Wino.Mail.WinUI
2024-07-12 01:11:39 +02:00
{
2024-07-19 20:31:13 +02:00
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.
/// </summary>
2024-07-12 01:11:39 +02:00
public partial class App : Application
{
2024-07-19 20:31:13 +02:00
/// <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>
2024-07-12 01:11:39 +02:00
public App()
{
2024-07-19 20:31:13 +02:00
this.InitializeComponent();
2024-07-12 01:11:39 +02:00
}
2024-07-19 20:31:13 +02:00
/// <summary>
/// Invoked when the application is launched.
/// </summary>
/// <param name="args">Details about the launch request and process.</param>
protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
2024-07-12 01:11:39 +02:00
{
2024-07-19 20:31:13 +02:00
m_window = new MainWindow();
m_window.Activate();
2024-07-13 03:45:55 +02:00
}
2024-07-19 20:31:13 +02:00
private Window m_window;
2024-07-12 01:11:39 +02:00
}
}