Вы находитесь на странице: 1из 26

INSTITUCION EDUCATIVA JOSE ANTONIO GALAN

CUMRAL META
PLANTILLA DE PRESENTACION DE PROGRAMAS TERCER PERIODO
PROFESOR: JORGE ALEJANDRO OBANDO BASTIDAS
ESTUDIANTES:
1: JUAN DIEGO MONTAA ROJAS
2: DANIELA FERNANDA MONSALVE MENDEZ

PRIMER PUNTO

Algoritmo o diagrama de flujo

Problema planteado

Dado tres notas; Si la nota total


es mayor de 3 entonces
aprueba si no reprueba
Diseo visual del programa

Variables de prueba

Resultados

Primera Nota=2.9
Segunda Nota=3.0
Tercera Nota=4.0

Nota Definitiva=3,3

Objetos

Nombre

Propiedades

Form1

Nombre: ApruebaOReprueba
Caption: Notas definitivas
BackColor: &H0080FFFF&

Picture
Label 1

Caption: Digite La Primera Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: Digite La Segunda Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: Digite La Tercera Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Caption: Nota Definitva


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 5

Nombre: ND
Caption:
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
BorderStyle: 1- Fixed Single

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Text1

Nombre: N1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Text3

Cdigo del
programa

Nombre: N2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single
Nombre: N3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


D = (Val(N1.Text) + Val(N2.Text) + Val(N3.Text)) / 3
If D >= 3 Then
ND.Caption = (Val(N1.Text) + Val(N2.Text) + Val(N3.Text)) / 3
MsgBox ("Aprueba La Materia")
Else
ND.Caption = (Val(N1.Text) + Val(N2.Text) + Val(N3.Text)) / 3
MsgBox ("Reprueba La Materia")
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

SEGUNDO PUNTO

Problema planteado

Algoritmo o diagrama de flujo

Compre tres artculos, si la


compra es mayor de
$100.000. Entonces hay
rebaja del 10% si no, no hay
rebaja.

Diseo visual del programa

Variables de prueba

Resultados

Primer Artculo=50000
Segundo Articulo=30000
Tercer Articulo=60000

Valor Total= 140000


Rebaja=14000

Objetos

Nombre
Form1

Propiedades
Nombre: RebajaDe3Articulos
Caption: RebajaDe3Articulos
BackColor: &H0080FFFF&

Picture
Label 1

Caption: Digite El Primer Artculo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: Digite El Segundo Articulo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: Digite El Tercer Articulo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Caption: Valor Total


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label5

Caption: Rebaja
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label6

Nombre VT
Caption:
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
BorderStyle: 1- Fixed Single

Label7

Nombre: R
Caption:
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
BorderStyle: 1- Fixed Single

Cdigo del programa

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Text1

Nombre: A1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Nombre: A2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text3

Nombre: A3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


D = Val(A1) + Val(A2) + Val(A3)
If D >= 100000 Then
VT.Caption = Val(A1) + Val(A2) + Val(A3)
R.Caption = (Val(A1) + Val(A2) + Val(A3)) * 0.1
MsgBox ("Tiene Rebaja Del 10%")
Else
VT.Caption = Val(A1) + Val(A2) + Val(A3)
MsgBox ("No Tiene Rebaja")
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

TERCER PUNTO

Problema planteado

Algoritmo o diagrama de flujo

La primera nota vale el 30%,


la segunda el 20%, la tercera
el 20%, la cuarta el 30%; si la
nota total es mayor a 3,5 se le
da una beca, de lo contrario
no hay bonificacin.

Diseo visual del programa

Variables de
prueba

Resultados

Primera Nota=4.0
Segunda Nota=5.0
Tercera Nota=2.0
Cuarta Nota=3.5

Nota Definitiva= 3.65

Objetos

Nombre

Propiedades

Form1

Nombre: GanaBeca
Caption: Gana beca
BackColor: &H0080FFFF&

Picture
Label 1

Caption: Digite La Primera Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: Digite La Segunda Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: Digite La Tercera Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Caption: Digite La Cuarta Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 5

Caption: Nota Definitiva


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 6

Nombre: ND
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Cdigo del
programa

Text1

Nombre: N1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Nombre: N2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text3

Nombre: N3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text4

Nombre: N4
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


D = (Val(N1) * 0.3) + (Val(N2) * 0.2) + (Val(N3) * 0.2) + (Val(N4) * 0.3)
If D >= 3.5 Then
MsgBox ("Se Gano Una Beca")
ND.Caption = (Val(N1) * 0.3) + (Val(N2) * 0.2) + (Val(N3) * 0.2) + (Val(N4)
* 0.3)
Else
MsgBox ("No Gano Una Beca")
ND.Caption = (Val(N1) * 0.3) + (Val(N2) * 0.2) + (Val(N3) * 0.2) + (Val(N4)
* 0.3)
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

CUARTO PUNTO

Problema planteado

Algoritmo o diagrama de flujo

Compre 5 artculos, si
la compra supera
$500.000, rebaja de
10%, si no rebaja del
solo 5%

Diseo visual del programa

Variables de
prueba

Resultados
Valor De X=1,375

A=4
B=9
C=2

Objetos

Nombre

Propiedades

Form1

Nombre: RebajaDe5Articulos
Caption: Rebaja de 5 articulos
BackColor: &H0080FFFF&

Picture
Label 1

Caption: Digite El Primer Artculo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: Digite El Segundo Articulo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: Digite El Tercer Articulo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Caption: Digite El Cuarto Articulo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 5

Caption: Digite El Quinto Articulo


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 6

Caption: Valor De Articulos


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 7

Caption: Rebaja Del 10%


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 8

Caption: Rebaja Del 5%


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 9

Nombre: VA
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Label 10

Nombre: R10
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Label 11

Nombre: R5
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Text1

Nombre: A1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Nombre: A2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Cdigo del
programa

Text3

Nombre: A3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text4

Nombre: A4
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text5

Nombre: A5
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


D = Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text) + Val(A5.Text)
If D >= 500000 Then
VA.Caption = Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text) +
Val(A5.Text)
R10.Caption = (Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text) +
Val(A5.Text)) * 0.1
MsgBox ("Se Gano Una Rebaja Del 10%")
Else
VA.Caption = Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text) +
Val(A5.Text)
R5.Caption = (Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text) +
Val(A5.Text)) * 0.05
MsgBox ("Se Gano Una Rebaja Del 5%")
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

QUINTO PUNTO

Problema planteado

Algoritmo o diagrama de flujo

Sea S =
, la operacin de

3 nmeros; si C 0
entonces S tiene valor si no
S no existe

Diseo visual del programa

Variables de prueba

Resultados

A=6
B=10
C=5

Valor Total= 3.2

Objetos

Nombre

Propiedades

Form1

Nombre: ValorDeS
Caption: Valor de s
BackColor: &H0080FFFF&
WindowState: 2-Maximized

Picture
Label 1

Caption: A
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: B
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: C
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Caption: Valor Total


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label5

Nombre: ValorT
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Cdigo del programa

Text1

Nombre: A
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Nombre: B
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text3

Nombre: C
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


S = (Val(A.Text) + Val(B.Text)) / Val(C.Text)
If S = 0 Then
MsgBox "La ecuacion es igual a 0, por lo tanto no tiene solucion"
Else
MsgBox "La ecuacion tiene solucion"
ValorT.Caption = (Val(A.Text) + Val(B.Text)) / Val(C.Text)
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

SEXTO PUNTO

Problema planteado

Algoritmo o diagrama de flujo

Sea = + . Si
(A+B) >=0 entonces R
tiene solucin si no, no
existe solucin.

Diseo visual del programa

Variables de prueba

Resultados

A= 6
B=5

Valor Total= 3.31662479

Objetos

Nombre

Propiedades

Form1

Nombre: ValorDeR
Caption: Valor de R
BackColor: &H0080FFFF&
WindowState: 0 - Normal

Picture
Label 1

Caption: A
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: B
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: Valor Total


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Nombre: ValorT
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Text1

Nombre: A
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Cdigo del programa

Nombre: B
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


R = Sqr(Val(A.Text) + Val(B.Text))
D = Val(A.Text) + Val(B.Text)
If D >= O Then
ValorT.Caption = Sqr(Val(A.Text) + Val(B.Text))
MsgBox "R tiene solucion"
Else
MsgBox "La ecuacion no tiene solucion"
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

SEPTIMO PUNTO

Problema planteado

Algoritmo o diagrama de flujo

Los nios mayores de


15 aos van a la fiesta
del colegio si no,
juegan microftbol.

Diseo visual del programa

Variables de prueba

Resultados

Ao de nacimiento=1999
Tu edad es= 17
Ao actual=2016

Objetos

Nombre

Propiedades

Form1

Nombre: FiestaOMicrofutbol
Caption: Fiesta O Microfutbol
BackColor: &H0080FFFF&
WindowState: 0 - Normal

Picture
Label 1

Caption: Ao de nacimiento
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: Ao actual
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: Digite La Tercera Nota


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Caption: Tu edad es
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label5

Nombre: Edad
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Text1

Nombre: FechaN
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Cdigo del programa

Nombre: FechaA
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


E = Val(FechaA.Text) - Val(FechaN.Text)
If E >= 15 Then
MsgBox "Van a la fiesta del colegio"
Edad.Caption = Val(FechaA.Text) - Val(FechaN.Text)
Else
MsgBox "Juegan microfutbol"
Edad.Caption = Val(FechaA.Text) - Val(FechaN.Text)
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

OCTAVO PUNTO

Problema planteado

Algoritmo o diagrama de flujo

Si el IVA de la compra
de 5 artculos es mayor a
100.000, se le devuelve
50.000 si no, no hay
vueltas.

Diseo visual del programa

Variables de prueba

Resultados

Articulo 1= 100000
Articulo 2= 150000
Articulo 3= 275500
Articulo 4= 66600
Articulo 5= 165500

Compra Total= 757600


Iva de la compra= 121216

Objetos

Nombre

Propiedades

Form1

Nombre: IvaDeLaCompra
Caption: Iva de la compra
BackColor: &H0080FFFF&
WindowState: 2 - Maximized

Picture
Label 1

Caption: Articulo 1
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 2

Caption: Articulo 2
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 3

Caption: Articulo 3
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 4

Caption: Articulo 4
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 5

Caption: Articulo 5
BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 6

Caption: Compra total


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 0-Transparent

Label 7

Caption: Iva de la compra


BackColor: &H8000000F&
Font: Times New Roman,
ForeColor: &H80000012&

Backstyle: 0-Transparent
Label 8

Nombre: TotalC
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Label 9

Nombre: I
Caption:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000012&
Backstyle: 1- Fixed Single

Command1

Caption: Inicio
BackColor: &H00E0E0E0&
Font: Times New Roman,

Command2

Caption: Men
Backolor: &H00E0E0E0&
Font: Times New Roman

Text1

Nombre: A1
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text2

Nombre: A2
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text3

Nombre: A3
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Cdigo del programa

Text4

Nombre: A4
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Text5

Nombre: A5
Text:
BackColor: &H80000005&
Font: Times New Roman,
ForeColor: &H80000008&
BorderStyle: 1- Fixed Single

Private Sub Command1_Click()


C = Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text) +
Val(A5.Text)
I = (Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text) +
Val(A5.Text)) * 0.16
If I >= 100000 Then
TotalC.Caption = Val(A1.Text) + Val(A2.Text) + Val(A3.Text) +
Val(A4.Text) + Val(A5.Text)
I.Caption = (Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text)
+ Val(A5.Text)) * 0.16
MsgBox "Se le devuelven 50.000"
Else
TotalC.Caption = Val(A1.Text) + Val(A2.Text) + Val(A3.Text) +
Val(A4.Text) + Val(A5.Text)
I.Caption = (Val(A1.Text) + Val(A2.Text) + Val(A3.Text) + Val(A4.Text)
+ Val(A5.Text)) * 0.16
MsgBox "No hay vuetas"
End If
End Sub
Private Sub Command2_Click()
Men.Show
Unload Me
End Sub

Вам также может понравиться