private void Application_Startup(object sender, EventArgs e) { settings = ReeeportSettings.SettingsReader(settingsPath); sheetHandler = null; driveHandler = null; NoteType.ItemsSource = settings.NoteTypesArr; NoteType.SelectedIndex = 0; MainWindow mw = this; mw.Topmost = settings.AlwaysOnTop; }
private void OnExit(object sender, EventArgs e) { ReeeportSettings.SettingsSaver(settingsPath, settings); }