r/csharp • u/XW1ndOws93 • 2h ago
Help Hi! Minor homework help? Using if-then w/ checkboxes & labels

The issue I'm having is mostly getting the label to update. I'm assuming it's just due to my own stupidity that I don't see the problem, but a lot of the code is based on the book i'm issued so that's why i'm a bit stuck.
I think I did most parts of the assignment, however I'm having trouble figuring out labels still lol. I'm not asking for the answer but it'd be nice to know wtf is wrong with it
I've tried reformatting the if-then a bit (hence in this example i've showed it might not look exactly right, i've tried literally everything i could). i've never used nested if-then before, and I'm not getting any error messages so it's hard for me to pinpoint the issue. i've also tried playing around with the lbl name and the positioning
i'm a total newb so some pointers would be appreciated.
the goal is to calculate a total price based on:
product quantity (textbox); product (combo box); & membership status (checkbox), then to have the final output in a label box

