private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { // TODO: Somehow ensure that every thread no longer exists to prevent the process running in background // although it should already work by itself by now. Stop(); Settings.Instance.Save(); fLog = null; }
public MainForm() { InitializeComponent(); LoadSettings(); fLog = new FileLogger(); Log.AddReader(fLog); }