Commit wpf