Disable windows Form Maximize

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

Related Posts

  • 50
    Introduction:           Recently I am facing the issues in visual studio 2015, when I try to install “bower” using node package manager. “The term 'npm'…
    Tags: click, visual, studio, open, windows
  • 43
    Do you want to know how creates any application in windows application with SQL Server and using CURD operation?. This blog for you. Here I…
    Tags: select, create, winform
  • 39
    Introduction In this article, we will learn WPF using Google Place API with the WPF control web browser in Visual Studio 2015. In this article,…
    Tags: click, create, application, will, button, studio, visual
  • 38
    Introduction In this article, we will learn MVC, using Angular Pie Chart, which is used for two types of UI, which are given below. Angular…
    Tags: click, open, button, project, output, will, studio, visual
  • 37
    Introduction This article demonstrates low to use Agular dynamic localization in MVC using the Angular i18n package in Visual Studio 2017. Localization Localization is a…
    Tags: will, studio, visual
Show Buttons
Hide Buttons