Sie sind auf Seite 1von 7

PROYECTO: Papelera

Delyna Aguilar Castillo


Profa.: Margarita Romero Alvarado

Formulario - Inicio
Insertamos un Picture Box Copiamos y pegamos el logo dentro del Picture Box. Agregamos 3 Command En Caption: Command1 PRODUCTOS Command2 PUBLICIDAD Command3 SALIR En el command Productos agregamos: Private Sub Command1_Click() Form2.Show End Sub Command Publicidad: Private Sub Command2_Click() Form3.Show End Sub Command Salir: Private Sub Command3_Click() End End Sub

2 do Formulario

Agregamos 8 Frame
Caption Plumas Colores Libretas Mochilas Diccionarios Crayolas Nombre cmdplumas cmdcolores cmdlibretas cmdmochilas cmddiccionarios cmdcrayolas

Command1 Command2 Command3 Command4 Command5 Command6

Agregamos 6 Picture y pegamos su imagen correspondiente Caption Sueltas Paquete de 7 plumas Caja de 12 pzas Caja de 24 pzas C.Grande C.Pequeo Chenson Wilson Diccionario Bote de Crayolas Nombre Option1 Option2 Option3 Option4 Option5 Option6 Option7 Option8 Option9 Option10

Option1 Option2 Option3 Option4 Option5 Option6 Option7 Option8 Option9 Option10

Agregamos 6 TextBox 1 Command

CODIGO (command):
Private Sub cmdplumas_Click() Picture1.Visible = True Frame2.Visible = True Text1.Visible = True Label1.Visible = True End Sub

Private Sub cmdmochilas_Click() Picture4.Visible = True Frame6.Visible = True Text4.Visible = True End Sub Private Sub cmddiccionarios_Click() Picture5.Visible = True Frame7.Visible = True Text5.Visible = True End Sub
Private Sub cmdcrayolas_Click() Picture6.Visible = True Frame8.Visible = True Text6.Visible = True End Sub

Private Sub cmdcolores_Click() Picture2.Visible = True Frame3.Visible = True Text2.Visible = True End Sub
Private Sub cmdlibretas_Click() Picture3.Visible = True Frame4.Visible = True Text3.Visible = True End Sub

CODIGO (optin):
Private Sub Option1_Click() Frame2.Visible = True Text1 = 3 End Sub Private Sub Option2_Click() Frame2.Visible = True Text1 = 15 End Sub Private Sub Option3_Click() Frame3.Visible = True Text2 = 26 End Sub Private Sub Option4_Click() Frame3.Visible = True Text2 = 54 End Sub Private Sub Option5_Click() Frame4.Visible = True Text3 = 8 End Sub Private Sub Option6_ Click() Frame4.Visible = True Text3 = 7 End Sub Private Sub Option7_ Click() Frame6.Visible = True Text4 = 250 End Sub Private Sub Option8_ Click() Frame6.Visible = True Text4 = 150 End Sub Private Sub Option9_ Click() Frame7.Visible = True Text5 = 120 End Sub

Private Sub Option10_Click() Frame8.Visible = True Text6 = 46 End Sub

CODIGO (COMMAND REGRESAR):


Private Sub Command1_Click() Form1.Show unloadme End Sub

3er Formulario

En la caja de herramientas damos clic derecho- Componentes-Seleccionamos Windows Media Player. Command REPRODUCIR: Private SubCommand1_Click() WMP1.URL = App.Path + "\papeleria 56(2).wmv" End Sub Command REGRESAR Private Sub Command2_Click() Form1.Show unloadme End Sub

Das könnte Ihnen auch gefallen