You have two options, as follows:
-
To remove heading and borders from a Form, disable the Form’s
FormBorderStyle
property. -
Set the interior of the form with the
ClientSize
property, as follows:this.ClientSize = new Size(300, 300);
More Related Contents:
- CMD command on c#
- How can I read, write, and modify the contents of a notepad (.txt) file, in Winform and WPF? [duplicate]
- Make an Installation program for C# applications and include .NET Framework installer into the setup
- Can’t view designer when coding a form in C#
- c# open a new form then close the current form?
- addFontFile from Resources
- Combining multiple Attributes to a single Attribute – Merge Attributes
- Visual Studio build fails: unable to copy exe-file from obj\debug to bin\debug
- Proper way to dispose a new Form
- How to asynchronously wait for x seconds and execute something then?
- How to create a custom MessageBox?
- Click through transparency for Visual C# Window Forms?
- Is the size of a Form in Visual Studio designer limited to screen resolution?
- Unable to copy a file from obj\Debug to bin\Debug
- How can we change the background color of all other forms from one form?
- Show controls added programmatically in WinForms app in Design view?
- Can’t use System.Windows.Forms
- Save Settings in VB.Net or C#
- How to force my C# Winforms program run as administrator on any computer?
- How to programmatically include a file in my project?
- Closing a form and then call another one
- WS_EX_TRANSPARENT – What does it actually do?
- User Control vs. Windows Form
- How to setup the starting form of a winforms project in Visual Studio 2010
- F5 or Start Debugging Button is Greyed Out for Winform application?
- Custom Color Palette in Visual Studio Color Property Editor
- How do I get all controls of a form in Windows Forms?
- Detecting design mode from a Control’s constructor
- How do I get the title of the current active window using c#?
- Make portion of a Label’s Text to be styled bold