UPDATE :
____________________________________________________
I just had to refresh the form and it appeared fine, thanks!
AND i didn't need any of the code below.
____________________________________________________
Hi All,
How do i override the form setting for the maximize option in the properties.
I am subclassing a form and want the form maximizebox option to default to false.
I have set the flag on my base form and it is set to false.
When i create a new form based off of the the above form the setting is the windows setting not my setting, is this just a gui setting and it will appear at runtime as a form with no maximize control on it?
This is what i think i should be doing in the base form.
[DefaultValue(false)]
public override bool MaximizeBox
{
get { return base.MaximizeBox; }
set { base.MaximizeBox = false; }
}