C
C#7d ago
mussab_1

✅ 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
jcotton42
jcotton427d ago
@mussab_1 more details are needed. Like is this a web app? WinForms? Something else?
mussab_1
mussab_1OP6d ago
XAML
jcotton42
jcotton426d ago
XAML is not a UI framework, it’s a markup language.
mussab_1
mussab_1OP6d ago
.NET?
jcotton42
jcotton426d ago
That’s the whole framework? Are you by chance using WPF? Also, how do you switch between the pages of your form?
mussab_1
mussab_1OP6d ago
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
MODiX
MODiX6d ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?