I need Help with this error:'MainWindow' does not contain a definition for 'LibraryTab_Click' and no

I am coding a game launcher and cant seem to fix this one error
8 Replies
sibber
sibber6mo ago
and no what delete the event in xaml and write it again it should create the method for you
jcotton42
jcotton426mo ago
@SAMURAI ✞ Forms? WPF? Something else? And did you mean to add a click handler for LibraryTab?
『 S 么 M U R 么 I 』
Yes and wpf
sibber
sibber6mo ago
either way any decent editor should do that if not just write it yourself
『 S 么 M U R 么 I 』
im new to this so can i just send my code i will be in vc 1
sibber
sibber6mo ago
just look up the event in the docs and see the function signature
『 S 么 M U R 么 I 』
fixed it
leowest
leowest6mo ago
https://wpf-tutorial.com/basic-controls/the-button-control/ u might also want to look around that site it has a lot of good examples and information

Did you find this page helpful?