

In code: aForm.FormBorderStyle=FormBorderStyle.Fixed3D Setting the Startup State of the Form Also, the Window contain no boxes except the close box

HelpButton:Indicates Form has Help Button.FormBorderStyle:Indicates the appearance and behavior of the form border and title bar.ForeColor:Indicates the forecolor of the form, which is the color used to display text.Font:Sets the default Font for the form.

Enabled:Whether the form is able to receive user input.Cursor:Indicates the cursor that appears when the cursor is moved over the form.ControlBox:Determine whether the form has a Control/System Menu box.BackgroundImageLayout: Determine how the image indicated by the BackgroundImage property will be laid out on the form.BackgroundImage: the background image of the form.Backcolor:Indicates the background color of the form.(Name): Set the name of the Form class shown in the designer only when design time.
#MENUSTRIP CONTROL IN ASP.NET WINDOWS#
You can modify the appearance of your UI by using Windows Forms properties. MyForm.show() //runtime Properties of Windows Forms Add Forms to Your ProjectĪpart from add a new form to project at design time, you also can set form in code:įrom1 myForm=new Form1 //Create From1 instance It provides a container that hosts controls and menus and enables you to present an application in a familiar and consistent fashion. Windows Forms is the basic building block of the UI. Windows Forms is the basis for most Microsoft Windows applications, and you can configure it to provide a variety of user interface options Lesson1:Working with Windows Forms and Container Controls Overview of Windows Forms
