mirror of
https://github.com/kwsch/NHSE.git
synced 2026-03-22 09:44:49 -05:00
23 lines
548 B
C#
23 lines
548 B
C#
using System.Windows.Forms;
|
|
|
|
namespace NHSE.WinForms;
|
|
|
|
public partial class SettingsEditor : Form
|
|
{
|
|
public SettingsEditor()
|
|
{
|
|
InitializeComponent();
|
|
PG_Settings.SelectedObject = Program.Settings;
|
|
}
|
|
|
|
private void SettingsEditor_FormClosing(object sender, FormClosingEventArgs e)
|
|
{
|
|
// Settings are saved when Main form closes
|
|
}
|
|
|
|
private void SettingsEditor_KeyDown(object sender, KeyEventArgs e)
|
|
{
|
|
if (e.KeyCode == Keys.W && ModifierKeys == Keys.Control)
|
|
Close();
|
|
}
|
|
} |