예제 #1
0
        private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            // Save window state/dimensions
            var handle = ((HwndSource)PresentationSource.FromVisual(this)).Handle;

            Global.Local.WindowSettings = WPF.GetWindowPlacement(handle);
        }