|
|
|
@ -1,4 +1,6 @@
|
|
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
|
using System; |
|
|
|
|
using System.Diagnostics.CodeAnalysis; |
|
|
|
|
using Avalonia; |
|
|
|
|
using Avalonia.Interactivity; |
|
|
|
|
using Avalonia.Markup.Xaml; |
|
|
|
|
using FluentAvalonia.UI.Controls; |
|
|
|
@ -9,7 +11,7 @@ namespace StabilityMatrix.Avalonia.Views;
|
|
|
|
|
public partial class FirstLaunchSetupWindow : AppWindowBase |
|
|
|
|
{ |
|
|
|
|
public ContentDialogResult Result { get; private set; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public FirstLaunchSetupWindow() |
|
|
|
|
{ |
|
|
|
|
InitializeComponent(); |
|
|
|
@ -19,14 +21,14 @@ public partial class FirstLaunchSetupWindow : AppWindowBase
|
|
|
|
|
{ |
|
|
|
|
AvaloniaXamlLoader.Load(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressMessage("ReSharper", "UnusedParameter.Local")] |
|
|
|
|
private void ContinueButton_OnClick(object? sender, RoutedEventArgs e) |
|
|
|
|
{ |
|
|
|
|
Result = ContentDialogResult.Primary; |
|
|
|
|
Close(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[SuppressMessage("ReSharper", "UnusedParameter.Local")] |
|
|
|
|
private void QuitButton_OnClick(object? sender, RoutedEventArgs e) |
|
|
|
|
{ |
|
|
|
|