I have a main form window (c#) that won't minimize or maximize. Clicking the control menu buttons will minimize or maximize the form, but the form immediately reverts back to normal size. This just started all of a sudden, I have rebuilt the app, and searched through the form code and properties. Nothing was changed as far as I know, and there is nothing out of the ordinary I can find. I'm pretty far into designing this form and I'd like to keep it if I could rather than redesigning it since it has toolbars, tree and grid controls.

Re: vs2005: windows form won't minimize or maximize by Paul

Paul
Sun Jul 22 21:42:04 CDT 2007

Paul wrote:
> I have a main form window (c#) that won't minimize or maximize. Clicking
> the control menu buttons will minimize or maximize the form, but the
> form immediately reverts back to normal size. This just started all of a
> sudden, I have rebuilt the app, and searched through the form code and
> properties. Nothing was changed as far as I know, and there is nothing
> out of the ordinary I can find. I'm pretty far into designing this form
> and I'd like to keep it if I could rather than redesigning it since it
> has toolbars, tree and grid controls.

Nevermind, by mistake I bound form size to a default setting and didn't test it.