✅ Event Handler functionality
Hi, I have an assignment where I need to create a list of rooms, each represented as a unique object. When a user clicks on a room, they should be able to press a button to request a booking for that specific room. However, I'm unsure how to use the selected room's object to transfer its details to another page, where the user can continue adding booking information. Any guidance would be appreciated!
7 Replies
@mussab_1 more details are needed. Like is this a web app? WinForms? Something else?
XAML
XAML is not a UI framework, it’s a markup language.
.NET?
That’s the whole framework?
Are you by chance using WPF?
Also, how do you switch between the pages of your form?
WPF is slightly different than XAML
I may have figured it out
The button doesnt really have to do anything with what the user chooses
I can make the program click on a room, transfer data to the new page every time the user chooses a room
And then
The button will navigate to the new page with the latest object that was clicked
If you have no further questions, please use /close to mark the forum thread as answered