I am using MS VS 2010 for a Windows Forms project.
When I added a GroupBox control to the form the label of the control was outputted in the Black color though the property ForeColor was set automatically to Yellow that is to the ForeColor of the form itself.
Only after I resetted this property anew changing the color of the property from Yellow to some other color and then again to the Yellow color the label was displayed in Yellow.
Is it a bug of MS VS 2010 or I did something wrong?
That is I want to say that the property ForeColor of the control after adding it to the form though it was setted was totally ignored.
The ForeColor of the GroupBox is not related to the Form ForeColor. Many controls do but GroupBoxes do not take the Form ForeColor. You should change GroupBox ForeColor if you want it to be yellow.