In this C#.Net tutorial, we will discuss how to hide maximize, minimize button in windows forms application in C#.Net. We will also see how we can hide or remove both maximize, minimize button in C#.net windows forms application.
Hide or Disable maximize button in windows forms application in C#.Net
Now we will see how we to remove or hide maximize button in windows forms in C#.Net. Maximize button enables users to enlarge a window to full-screen size.
To remove maximize button we have to set the MaximizeBox property to false of the windows form.

Now when you open the windows form you will notice the windows form’s maximize button is in disable mode as well as if user double-click on the title bar it will not maximize the windows form.

Hide or Disable minimize button in windows forms application in C#.Net
Now, we will discuss how we to remove or hide minimize button in windows form in C#.Net. Minimize button enables users to minimize the window to the taskbar.
To remove minimize button we have to set the MinimizeBox property to false of the windows form.

Now when you open the windows form you will notice the windows form’s minimize button is in disable mode in the windows form. User can not able to minimize the windows form.

Hide or Disable minimize maximize and close buttons in c# windows form
Now, we will see how to hide the maximize, minimize and the close button in windows form in C#.Net.
To remove all the buttons, Right click on the Form and Click on Properties. And from the properties windows, Set Control Box property to False as shown in the fig below:

Now if you run the Windows form you will not able to see the maximize, minimize, and the close button from the windows form.

You may like the following C#.Net tutorials:
- How to create a folder if not exist in C#.Net
- Why is .NET so popular for web application development?
- How to Implement Log4Net in ASP.NET Core Application
- C#.NET Method Naming Conventions
Hope this windows forms tutorial explains, how to disable maximize button in windows form c#.net, disable minimize button in windows form c#.net, disable minimize maximize and close buttons in c# windows form.
Bijay Kumar is a renowned software engineer, accomplished author, and distinguished Microsoft Most Valuable Professional (MVP) specializing in SharePoint. With a rich professional background spanning over 15 years, Bijay has established himself as an authority in the field of information technology. He possesses unparalleled expertise in multiple programming languages and technologies such as ASP.NET, ASP.NET MVC, C#.NET, and SharePoint, which has enabled him to develop innovative and cutting-edge solutions for clients across the globe. Read more…