d85f2e0fb3
Bootstraper läd jetzt die farbeinstellung sofort und nicht nachträglich cleanup and rework PDF switch to HTML export fix Colorsystem Farben für knöpfe hinzugefügt als anpassung button color button color primary and secondary change
25 lines
631 B
C#
25 lines
631 B
C#
using Microsoft.UI.Xaml;
|
|
using System.Diagnostics;
|
|
|
|
namespace cfs_tracker.WinUI;
|
|
|
|
public partial class App : MauiWinUIApplication
|
|
{
|
|
public App()
|
|
{
|
|
this.InitializeComponent();
|
|
|
|
UnhandledException += OnUnhandledException;
|
|
}
|
|
|
|
private void OnUnhandledException(object sender, Microsoft.UI.Xaml.UnhandledExceptionEventArgs e)
|
|
{
|
|
Debug.WriteLine("WINUI UNHANDLED EXCEPTION:");
|
|
Debug.WriteLine(e.Message);
|
|
|
|
if (e.Exception is not null)
|
|
Debug.WriteLine(e.Exception.ToString());
|
|
}
|
|
|
|
protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp();
|
|
} |