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
sibber3w ago
and no what delete the event in xaml and write it again it should create the method for you
jcotton42
jcotton423w ago
@SAMURAI ✞ Forms? WPF? Something else? And did you mean to add a click handler for LibraryTab?
SAMURAI  ✞
SAMURAI ✞OP3w ago
Yes and wpf
sibber
sibber3w ago
either way any decent editor should do that if not just write it yourself
SAMURAI  ✞
SAMURAI ✞OP3w ago
im new to this so can i just send my code i will be in vc 1
sibber
sibber3w ago
just look up the event in the docs and see the function signature
SAMURAI  ✞
SAMURAI ✞OP3w ago
fixed it
leowest
leowest3w 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?