.


:




:

































 

 

 

 


Microsoft Visual Studio




4.1.
Visual Studio.NET 2008

4 4.2 .

Visual Studio.NET (VS), Visual Basic (VB).

 

,

1. VS.NET.

2. .

3. .

4. .

5. .

6. .

7. .

8. .

 

1. ( ) 4.1.4. ().

2. 4.1.5. ().

3. .

 

1. .

2. .

3. .

4. :

4.1. ;

4.2. ;

4.3. ;

4.4. ;

4.5. ;

4.6. ;

4.7. VS.

5. .

()

Microsoft Visual Studio

Microsoft Visual Studio 2008. . (. 4.1-1)

. 4.1-1

 

Visual Basic . 4.1-1.

,

. 4.1-2

:

( . 4.1-3)

. 4.1-3

 

Visual Basic Windows.

Visual Studio. Windows, . 4.1-3. .3.

: . . : _ _1 ( . 4.1-3). .

(. 4.1-4).

. 4.1-4

: () . - . - .

: , . . - ( ) . , . - , . , Form1. .

Button (. 4.1-5)

. 4.1-5

 

Form1. . 4.1-6

. 4.1-6

 

Button1. ( ) () (. 4.1-7).

. 4.1-7

() Button1_Click Button1. . Private Sub Button1_Click End Sub . :

 

Private Sub Button1_Click(ByVal sender As System.Object,...

Text = " "

Button1.Text = " "

End Sub

 

, . . .

. 4.1-8

 

: , D (. 4.1-9)

. 4.1-9

 

: (. 4.1-10)

. 4.1-10

 

. 1302_03_1.

(.4.1-11)

. 4.1-11

 

. F5. (. 4.1-12).

. 4.1-12

 

Button1. (.4.1-13)

. 4.1-13

 

, : . , , . . . , . , Button1. Button1 ( Form1) AutoSize=True (. 4.1-14).

. 4.1- 14

. . , , , . , . , . .

. . 4.1-12, . 4.1-15

. 4.1-15

 

.

: , , , .

.

, . : , (. 4.1-16)

. 4.1-16

. . . 4.1-17 .

. 4.1-17

 

Form1.vb. . .

. , , , , VB Visual Studio, () VB Visual Studio. , !

P.S. , , . .

 

4.1.5.

() 4.1.3. .

1. :

Visual Studio.NET

.

 

2. -4-1-:

:

VB -4-1-, . :

: , , .

: ,

S .

:

>0, >0, C>0, +>, +C>, +C> .

-4-1- :

;

, ;

, .

 

3. :

:

= + + ;

S = ( ),

= /2 .

, :

:
4.1.

;

;

( );

;

;

.

 

, , .4.1-18.

. 4.1-18.

 

4. :

4.1. :

1. VS.

2. ... (New Project...) (File).

3. (New Project).

4. Windows Form (New Project).
(Name) (New Project) -4-1-.

(New Project).

VS -4-1- VS , (Designer) 1 (Form1). .

4.2. :

1. , , , , . (Designer) , . VS, . , , . 4.1-18.

, , .

2. Button1 (1), (ToolBox) Button (). VS Button1. , .

- . VB , , .

.

3. Button2, ( ) (ToolBox) Button, Form1. . , , , .

. , Button2 .

, , , , .

, < Del >.

. , . 4.1-19.

. 4.1-19

 

4. , (ToolBox) (Label) .

VS Label1.

Label1 .

5. , (ToolBox) (Label). VS Label2.

6. Label3, Label, Label3.

7. Label4, Label .

8. , .

, . 4.1-20. , .

. 4.1-20

 

9. Label,

Label5.

10. Label6.

11. ,

.

, , (ToolBox) (TextBox).

VS TextBox1.

TextBox1 , Label2 .

12. TextBox2 TextBox3, Label3 Label4 .

13. TextBox4 TextBox5, Label5 Label6 .

14. , . 4.1-21. , .

. 4.1-21

 





:


: 2017-02-25; !; : 547 |


:

:

, .
==> ...

1661 - | 1529 -


© 2015-2024 lektsii.org - -

: 0.06 .