Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to minimize a window

Status
Not open for further replies.

dushkin

Programmer
Mar 28, 2002
90
US
hi. i have tried everything at this point.
my code to minimize a form is:

Code:
Form f = new Form();
f.WindowState = FormWindowState.Minimized();

from what i have read that should work. but it doesn't.
I am thinking that there is a properties value that
is competing with this command. i have played with
everything that was set and i still can't minimize this
window. Any ideas about what i might be doing wrong at
this point would be very helpful.

thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top