.


:




:

































 

 

 

 


. 1. Visual Studio

1. Visual Studio

: Microsoft Visual Studio.

:

1. Visual Studio: , , , , .

2. .

3. .

4. , .

1. , Microsoft Visual Studio, .

Visual Studio ( →Microsoft Visual Studio 2010 → Microsoft Visual Studio 2010). , ( , ) (. .1).

 

. 1. Visual Studio 2010

 

(Visual Basic), ( Windows Forms) (. .2).

. 2. Visual Studio 2010

 

Microsoft Visual Basic 2010 : , (View()→ Toolbox ( )). , Windows Form (. 3).

. 3.

.

, , (. .3). . , , .

 

. 3. Visual Studio 2010

 

. 4 . , Text () .

. 4.

 

, . , , , Windows , . , , . ( , ) . . . .

Click .
DblClick .
GotFocus .
LostFocus .
Load .
Unload .

. , . , "", . . . (General) , .

. 5.

: ; .

, .

, . . Enter, , , Ctrl + Enter, .

. , , Edit (). Options Editor Tools.

, . . (:). . (_). . .

. .

 

Label1.Caption = ", !" '

 

, . .

Visual Basic , . , .

Byte 0 255 1
Boolean , true, false 1
Short -32 768 32 767 2
Integer -2 147 483 648 2 147 483 647 4
Long -9 223 372 036 854 775 808 9 223 372 036 854 775 807 8
Single 4
Double 8
Currency (28 ) 12
Date / 4
Char 2
String Unicode 231 ( 2 !) . 32

:

Dim < > As < >

, t , f,k .

Dim t As String

Dim f,k As Boolean.

, .

Val() .

Str() .

CBool() .

CDbl() Double.

CInt() .

CLng() Long.

CSng() Single.

CDate() Dat.

 

, .

+
- ( )
/
\
*
^
Mod
Abs ()
Acos ,
Asin ,
Atn ,
Ceiling ,
Cos
Exp ( 2,71828182845905),
Floor ,
Log
Round ,
Sgn ,
Sin
Sqr
Tan
Int ,
Fix ,
IsNumeric

1.

1. , : .

2. - , 5 .

3. , , .

 

 

2.

1. , : .

2. - , 5 .

3. , , .

3.

1. , : .

2. - , 5 .

3. , , .

 

4.

1. , : .

2. - , 5 .

 

3. , , , .

 

5.

1. , : .

2. - , 5 .

3. , , ;

 

6.

1. , : .

2. - , 5 .

3. , , ;

 

7.

1. , : (4 ).

2. - , 5 .

3. , , .

 

8.

1. , : (4 ).

2. - , 5 .

3. , , , .

 

9.

1. , : (4 ).

2. - , 5 .

3. , , .

 

10.

1. , : (4 ).

2. - , 5 .

 

3. , , , .

 

 



<== | ==>
| . , , , .
:


: 2016-12-18; !; : 420 |


:

:

.
==> ...

988 - | 850 -


© 2015-2024 lektsii.org - -

: 0.043 .