Files
Libation/Source/LibationWinForms/Dialogs/SetupDialog.cs
Michael Bucari-Tovo d67692355f Enable project-wide nullable reference types
Added DB migration for nullable types.
2026-02-05 12:43:05 -07:00

30 lines
596 B
C#

using LibationUiBase;
using System;
using System.Windows.Forms;
namespace LibationWinForms.Dialogs;
public partial class SetupDialog : Form, ILibationSetup
{
public bool IsNewUser { get; private set; }
public bool IsReturningUser { get; private set; }
public SetupDialog() => InitializeComponent();
private void newUserBtn_Click(object sender, EventArgs e)
{
IsNewUser = true;
this.DialogResult = DialogResult.OK;
Close();
}
private void returningUserBtn_Click(object sender, EventArgs e)
{
IsReturningUser = true;
this.DialogResult = DialogResult.OK;
Close();
}
}