Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
753 B

using Avalonia;
using Avalonia.Interactivity;
using FluentAvalonia.UI.Windowing;
using StabilityMatrix.Avalonia.Controls;
using StabilityMatrix.Avalonia.Services;
namespace StabilityMatrix.Avalonia.Views;
public partial class MainWindow : AppWindowBase
{
public INotificationService? NotificationService { get; set; }
public MainWindow()
{
InitializeComponent();
#if DEBUG
this.AttachDevTools();
#endif
TitleBar.ExtendsContentIntoTitleBar = true;
TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex;
}
public override async void OnLoaded(object? sender, RoutedEventArgs e)
{
base.OnLoaded(sender, e);
NotificationService?.Initialize(this);
}
}