Enough already. I'm obviously not incentivized/shamed into writing unit tests for things in UNTESTED dir.s. It's just making a mess of the file tree
This commit is contained in:
parent
2217fe6948
commit
959a1aebe9
129 changed files with 16 additions and 16 deletions
37
LibationWinForms/Dialogs/SetupDialog.cs
Normal file
37
LibationWinForms/Dialogs/SetupDialog.cs
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace LibationWinForms.Dialogs
|
||||
{
|
||||
public partial class SetupDialog : Form
|
||||
{
|
||||
public event EventHandler NoQuestionsBtn_Click
|
||||
{
|
||||
add => noQuestionsBtn.Click += value;
|
||||
remove => noQuestionsBtn.Click -= value;
|
||||
}
|
||||
|
||||
public event EventHandler BasicBtn_Click
|
||||
{
|
||||
add => basicBtn.Click += value;
|
||||
remove => basicBtn.Click -= value;
|
||||
}
|
||||
|
||||
public event EventHandler AdvancedBtn_Click
|
||||
{
|
||||
add => advancedBtn.Click += value;
|
||||
remove => advancedBtn.Click -= value;
|
||||
}
|
||||
|
||||
public SetupDialog()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
noQuestionsBtn.Click += btn_Click;
|
||||
basicBtn.Click += btn_Click;
|
||||
advancedBtn.Click += btn_Click;
|
||||
}
|
||||
|
||||
private void btn_Click(object sender, EventArgs e) => Close();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue