MainWindow.xaml.cs Modified. No More objectdelegate