Disable windows Form Maximize1 min read

Open visual studio 2015: New Project >select windows application

1w.png

After create new project Form1 will be shown like below pic.

2w.png

Select above the form and click F4.Property window should be appearing.

3w.png

Now form’s Maximize Button goes to disable in the design mode.

4w.png

After run the application, double click isn’t work. because maximize button go to disable.

If you stop maximizing in run time, use the below line in your event.

(E.x) I am using in button click even.

After run the application begin maximize button is work, if you click the button it should be disabled

Output:

Before Click Event

7w.png

After Click Event

6w.png

Author Profile

Thiruppathi Rengasamy
I 'm a .Net Developer & Blogger. And also I'm working as senior software engineer in Microsoft Technologies for 5+ Years.I would like to spend my precious time in writing articles, research in .Net technologies and to learn new technologies.