.


:




:

































 

 

 

 


.




:

<F5>

.

(. 4.1.2-10).

 

, VB (). , , , , :

;

;

.

Windows Forms , :


 

Option Explicit on Option Strict on Imports System.Math Imports System.IO ' Public Modul Modul1 End Modul Public Modul Modul_1 End Modul Public Modul Modul_n End Modul Public Class Class1 ' 1 End Class Public Class Class_k ' k End Class Public Class Form1 ' 1 End Class Public Class Form_m ' m End Class

 

VB . VB Main(). Framework.NET Main() . Main() , . , , , .
Run() Form1 , . , , , . , ( ) . , , .

 

, .exe, Main(). (, *.dll) Main().

Windows Forms Main() . , VB , . , Form. , , MyProject .

, VB . . . . , , , , , .

(.exe) (DLL); . NET Framework. CLR , . , , .

 

,
, , . :

1) Option.

2) Imports.

3) Namespace .

 

.

Option , .

Imports, , .

, Dim, Private, Public ., ; , ; , , .

. . .

. , , , ( ). ( Function Sub).

.

. , . (Function, Sub).

.

, .. , , , (). (), , , (). , , , , , . , (Private ) , . , Form2 Button1_Click(), Form1 Private.

, , .

, , , , , , , VS . . , VS , . (IDE) .

:

, , , , , ;

, , ;

, , .

 

 

4.1.3. VS

 

VB VS , , (. 4.1.3-1).

 

. 4.1.3-1. VS

 

: , , , , , , , , , , , .

 

 

. 4.1.3-2.

 

 

. . , , , . , .

, , , (. 4.1.3-2).

(. 4.1.3-3).

. , , , .

 

 

. 4.1.3-3.

, , , , , , .

:..., .

, .

, . , , , .

 

 

. 4.1.3-4.

 

, , .

, . , . , .

, . , . , .

.

VB , . (. 4.1.3-1), . . 4.1.3-4.

VS . , , .





:


: 2016-11-18; !; : 388 |


:

:

, .
==> ...

1696 - | 1548 -


© 2015-2024 lektsii.org - -

: 0.022 .