I have found a problem while using a Button within a GroupBox. Though I set the “Enabled”-Property of the Button to false, it is still enabled and fires the “Click”-Event when pressed. I do not have a clue why it does not work correctly. I tried multiple solutions, e.g. when I put the Button directly on the Form, everything works like its supposed to. I attached a picture with an example.
I would be very happy, if you could help me with this problem.