Example #1
0
        void windowClosing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            // Store the current window position
            var w = sender as Window;

            //Properties.Settings.Default.MainWindowPlacement = w.GetPlacement();
            //Properties.Settings.Default.Save();
            SettingProvider.SetWindowPosition(w.GetPlacement());
            _window.Closing -= windowClosing;
        }