Windows Phone Developers

Wednesday, January 7, 2009

How to Disable Minimize Button on Windows Forms using C#

How to Disable Minimize Box on Windows Forms using C#

A Minimize button enables users to minimize a window to an icon. To display a Minimize button, you must also set the form's FormBorderStyle property to FormBorderStyle.FixedSingle, FormBorderStyle.Sizable, FormBorderStyle.Fixed3D, or FormBorderStyle.FixedDialog.

To enable or disable the minimize button, you can use

this.MinimizeBox = false;

Digg Technorati Delicious StumbleUpon Reddit BlinkList Furl Mixx Facebook Google Bookmark Yahoo
ma.gnolia squidoo newsvine live netscape tailrank mister-wong blogmarks slashdot spurl StumbleUpon

No comments:

Post a Comment