14,11 → 14,17 |
public Menu_Main() |
{ |
DebugText.startNewSession(); |
Settings_Form.ImportSettings(); |
StatLogging.ImportSettings(); |
InitializeComponent(); |
Settings_Form.ImportSettings(); |
this.KeyPress += new KeyPressEventHandler(Menu_Main_KeyPress); |
this.FormClosing += new FormClosingEventHandler(Menu_Main_FormClosing); |
} |
|
void Menu_Main_FormClosing(object sender, FormClosingEventArgs e) |
{ |
StatLogging.ExportSettings(); |
} |
void Menu_Main_KeyPress(object sender, KeyPressEventArgs e) |
{ |
// Monitors for keypresses |