public App() { this.InitializeComponent(); this.Suspending += OnSuspending; AppDataFile = new AppData(); }