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.
37 lines
941 B
37 lines
941 B
1 year ago
|
using System.Diagnostics.CodeAnalysis;
|
||
|
using Avalonia.Interactivity;
|
||
|
using Avalonia.Markup.Xaml;
|
||
|
using FluentAvalonia.UI.Controls;
|
||
|
using StabilityMatrix.Avalonia.Controls;
|
||
|
|
||
|
namespace StabilityMatrix.Avalonia.Views;
|
||
|
|
||
|
public partial class FirstLaunchSetupWindow : AppWindowBase
|
||
|
{
|
||
|
public ContentDialogResult Result { get; private set; }
|
||
|
|
||
|
public FirstLaunchSetupWindow()
|
||
|
{
|
||
|
InitializeComponent();
|
||
|
}
|
||
|
|
||
|
private void InitializeComponent()
|
||
|
{
|
||
|
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)
|
||
|
{
|
||
|
Result = ContentDialogResult.None;
|
||
|
Close();
|
||
|
}
|
||
|
}
|