Customize Window form (Title, Size and Name)

In this blog I am going to describe how to customize “Window Form”. First of all we have to create a new window form application. So click on File->New-> Project, and select “window form application”. 

 
Once project is created we will get a window form, let’s customize it.
 
 

Rename:

Initially the form is named as Form1. But for programing prospective or best practice, it should be meaning full. So to rename the select the form and right click on it and go to properties.

  

Here under Font there is property called “Text” by changing it we can change the Title of the window.

 
 

Result is:

  

Now rename the form in “design”. This name is used to call this form i.e. this is the actual name which we are going to use during programing.

 
 
  

Result is
 
 
 
Re-size:

Now resize the window. Expand the Layout, and under layout there is a property called size. Here provide the window size separated by “,”.

 
 
The result is
 
 
Thank you.
Ebook Download
View all
Learn
View all