Trouble running method from WPF UserControl Button's Click
Hi, I am trying out the BooksDemo WPF application in Chapter 36. I have created the BookUC WPF user control which includes a button with Click="OnShowBook". This OnShowBook method is not in the user control but in the MainWindow. try as I might I have not been able to load it. I just get this error message saying that BookUC does not have any OnShowBook method. I am stuck, any help would be greatly appreciated.
|