Permalink
Browse files

Merge pull request #7 from jbubriski/master

Changed the OnClosed event handler to OnClosing
  • Loading branch information...
2 parents 2eaa183 + 9c00862 commit 4d28bfbf5314af0340d832afdf56cee0b2f2f48e @Haacked committed Apr 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/WindowPlacementRxDemo/MainWindow.xaml.cs
@@ -37,10 +37,10 @@ protected override void OnSourceInitialized(EventArgs e)
this.RestorePlacement();
}
- protected override void OnClosed(EventArgs e)
+ protected override void OnClosing(System.ComponentModel.CancelEventArgs e)
{
this.SavePlacement();
- base.OnClosed(e);
+ base.OnClosing(e);
}
}
}

0 comments on commit 4d28bfb

Please sign in to comment.