Add new timeout option and supporting settings infrastructure

This commit is contained in:
Alexander Horner
2022-12-12 21:32:46 +00:00
parent 1a73981d20
commit 67b6e5b607
8 changed files with 345 additions and 16 deletions

View File

@@ -0,0 +1,29 @@
using System;
using System.Windows.Forms;
namespace ntfysh_client
{
public partial class SettingsDialog : Form
{
public decimal Timeout
{
get => timeout.Value;
set => timeout.Value = value;
}
public SettingsDialog()
{
InitializeComponent();
}
private void saveButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
}
private void cancelButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.Cancel;
}
}
}