void MainWindow_FormClosing(object sender, FormClosingEventArgs e) { presenter.SaveSettings(SettingsHelper.RecordableExtensions, SettingsHelper.RecordableOutsideLines); presenter.StopRecordings(); }