Sorry no code as I deleted the whole thing in frustration. I will recode and
post later. For now it is like following:
Create form with WindowState = Mezimized in design time settings
Open form (with some kind of debugging field, I used variables to get the
state in Location changed and Size changed event)
Form will open mazimized
Click on the min/max button on the form
Form reduce to design time size
Read the value for windowstate and it says maximized.
Thanks.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:eR**************@TK2MSFTNGP15.phx.gbl...
Can you show an example where this happens?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Pohihihi" <no*****@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl... Why FromWindowState still shows maximized even after the size is changed
to something normal? Is there a way to find the true WindowState of a
form?