logo
Учебник_ПОА

To create the main form of your application

  1. On the File menu, click New Project.

The New Project dialog box appears.

  1. Click Windows Forms Application, and then click OK.

A form named Form1 is added to the project.

  1. From the Toolbox, drag a ListBox control to the form, and change the following property in the Properties window:

    Property

    Value

    Modifiers

    Public

  2. Add a Button control to the form, and change the following properties in the Properties window:

Property

Value

Name

addItems

Text

Add