Example #1
0
 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;
 }
Example #2
0
        public MainForm()
        {
            InitializeComponent();

            LoadSettings();
            fLog = new FileLogger();
            Log.AddReader(fLog);
        }