using System.Diagnostics.CodeAnalysis; using Avalonia.Interactivity; using Avalonia.Markup.Xaml; using FluentAvalonia.UI.Windowing; using StabilityMatrix.Avalonia.Controls; using StabilityMatrix.Core.Attributes; namespace StabilityMatrix.Avalonia.Views.Dialogs; [Transient] public partial class ExceptionDialog : AppWindowBase { public ExceptionDialog() { InitializeComponent(); TitleBar.ExtendsContentIntoTitleBar = true; TitleBar.TitleBarHitTestType = TitleBarHitTestType.Complex; } private void InitializeComponent() { AvaloniaXamlLoader.Load(this); } [SuppressMessage("ReSharper", "UnusedParameter.Local")] private void ExitButton_OnClick(object? sender, RoutedEventArgs e) { Close(); } }