using System.Windows; using BetterPatchFileCreator.Code; namespace BetterPatchFileCreator { /// /// Interaction logic for App.xaml /// public partial class App : Application { private void Application_Startup(object sender, StartupEventArgs e) { DataProvider.Intialize(); } protected override void OnExit(ExitEventArgs e) { // Save settings on App Shutdown. DataProvider.Save(); base.OnExit(e); } } }