Jeremy
❔ WinForms Refreshing parent Flowpanel issues
cartForm: runs a method called loadItems taking an array of items as a parameter.
This populates a flowpanel with a user control template called cartMenuItems.
The cartMenuItems template has a X button in the top right.
On click I want it to remove an item from the array, and then delete the flowpanel and re-run loadItems to update the panel.
The issue is making it so that onclick I delete the flowpanel and loadItems to update the panel.
2 replies