private void ExitMenuItemClicked(object sender, RoutedEventArgs e)
        {
            _SaveFileHelper.Autosave();
            SaveLayoutHelper.SaveLayout(dockingManager);

            Application.Current.Shutdown();
        }
Beispiel #2
0
        protected override void OnExit(ExitEventArgs e)
        {
            var saveFileHelper = new SaveFileHelper();

            saveFileHelper.Autosave();
            base.OnExit(e);
        }