private void Window_Closing(object sender, CancelEventArgs e) { // Settings.Default.MainWindowPlacement = this.GetPlacement(); //!!!? Settings.Default.Save(); }