proyecto "papelería"

7
PROYECTO: PROYECTO: “Papelería” “Papelería” AYHLI MENDO CANDELARIO Profa.: Margarita Romero Alvarado

Upload: ayhli123

Post on 20-Jul-2015

2.479 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Proyecto "Papelería"

PROYECTO:PROYECTO:“Papelería”“Papelería”

AYHLI MENDO CANDELARIO

Profa.: Margarita Romero Alvarado

Page 2: Proyecto "Papelería"

Formulario - InicioFormulario - InicioInsertamos 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 ProductosProductos agregamos: Private Sub Command1_Click() Form2.Show End Sub Command PublicidadPublicidad: Private Sub Command2_Click() Form3.Show End Sub Command SalirSalir: Private Sub Command3_Click() End End Sub

Page 3: Proyecto "Papelería"

2 do Formulario2 do Formulario

Page 4: Proyecto "Papelería"

Agregamos 8 Frame

Caption NombreCommand1 Plumas cmdplumasCommand2 Colores cmdcoloresCommand3 Libretas cmdlibretasCommand4 Mochilas cmdmochilasCommand5 Diccionarios cmddiccionariosCommand6 Crayolas cmdcrayolas

Agregamos 6 Picture y pegamos su imagen correspondiente

Caption NombreOption1 Sueltas Option1 Option2 Paquete de 7 plumas Option2Option3 Caja de 12 pzas Option3

Option4 Caja de 24 pzas Option4Option5 C.Grande Option5Option6 C.Pequeño Option6Option7 Chenson Option7Option8 Wilson Option8Option9 Diccionario Option9Option10 Bote de Crayolas Option10

Page 5: Proyecto "Papelería"

Agregamos 6 TextBox 1 Command

CODIGO CODIGO (command):(command):

Private Sub cmdplumas_Click()

Picture1.Visible = True

Frame2.Visible = True

Text1.Visible = True

Label1.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

Private Sub cmdmochilas_Click()Picture4.Visible = TrueFrame6.Visible = TrueText4.Visible = TrueEnd Sub

Private Sub cmddiccionarios_Click()Picture5.Visible = TrueFrame7.Visible = TrueText5.Visible = TrueEnd Sub

Private Sub cmdcrayolas_Click()Picture6.Visible = TrueFrame8.Visible = TrueText6.Visible = TrueEnd Sub

Page 6: Proyecto "Papelería"

CODIGO CODIGO (optión):(optión):

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 = TrueText3 = 8End Sub

Private Sub Option6_ Click()Frame4.Visible = TrueText3 = 7End Sub

Private Sub Option7_ Click()Frame6.Visible = TrueText4 = 250End Sub

Private Sub Option8_ Click()Frame6.Visible = TrueText4 = 150End Sub

Private Sub Option9_ Click()Frame7.Visible = TrueText5 = 120End Sub

Private Sub Option10_Click()Frame8.Visible = TrueText6 = 46End Sub

CODIGO (COMMAND CODIGO (COMMAND REGRESAR):REGRESAR):

Private Sub Command1_Click()Form1.Show unloadmeEnd Sub

Page 7: Proyecto "Papelería"

3er Formulario3er 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