Update MainWindow.xaml.cs

cm branch change