I have a form with quite a few controls on : labels, text boxes, masked text boxes, check boxes etc.

I want to be able to write something that checks the values of certain check boxes, if this are checked then go off and do something else.

I initially started by checking each one in turn, but I don't think that this is the best way forward.

I almost want something like:

foreach CheckBox check in this.Controls - but need to limit to check boxes only.

Can anyone help?

Many thanks

Mark