❔ C# how do I write an If-statement to handle a button?

Hi, I wanted some assistance with writing a If-statement that filters out the zones section in my app when the switch shown in the first pic is pressed off.
image.png
image.png
image.png
image.png
Was this page helpful?