You are on page 1of 3

Formulario1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load


End Sub
Private Sub INICIAR_SESION_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
INICIAR_SESION.Click
'TextBox1.Text = "sergio"
'TextBox2.Text = "123456"
If TextBox1.Text = "sergio" And TextBox2.Text = "123456" Then
Form2.Show()
Me.Hide()
Else
MsgBox("La contrasea es incorrecta", MsgBoxStyle.Exclamation, "Error")
End If
End Sub
Private Sub CANCELAR_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
CANCELAR.Click
End
End Sub
Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
TextBox2.TextChanged
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
TextBox1.TextChanged
End Sub
End Class

Formulario2
Public Class Form2
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Public CONTADOR%
Private Sub ProgressBar1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
ProgressBar1.Click
ProgressBar1.Value = 0.0
ProgressBar1.Value = 100
Timer1.Interval = 40
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If contador < 100 Then
ProgressBar1.Value = contador
contador = contador + 1
Else
Timer1.Enabled = False
Me.Hide()
Form3.Show()
Me.Close()
End If
End Sub

End Class

Formulario3

Public Class Form3


Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
MsgBox("BIENVENIDO")
Me.Show()
End Sub
Private Sub REGRESAR_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
REGRESAR.Click
INICIO_DE_SESION.Show()
Me.Close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button2.Click
MsgBox("HOLA")
Dim nombre As String
Dim edad As Integer
MsgBox("IDENTIFIQUESE PARA ENTRAR AL SISTEMA")
nombre = InputBox("teclea tu nombre")
MsgBox(nombre)
edad = InputBox("teclea tu edad")
MsgBox(edad)
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
Button1.Click
For numero As Integer = 1 To 10 Step 2
numero = InputBox("teclea tu numero")
MsgBox(numero)
Next
End Sub
End Class

In My Life
There are places I'll remember
All my life though some have changed
Some forever not for better
Some have gone and some remain
All these places have their moments
With lovers and friends I still can recall
Some are dead and some are living
In my life I've loved them all
But of all these friends and lovers
There is no one compares with you
And these memories lose their meaning
When I think of love as something new
Though I know I'll never lose affection
For people and things that went before
I know I'll often stop and think about them
In my life I love you more
Though I know I'll never lose affection
For people and things that went before
I know I'll often stop and think about them
In my life I love you more
In my life I love you more
En mi vida
Hay lugares que recordar toda mi vida,
aunque algunos han cambiado.
Algunos para siempre, no para mejor,
algunos se han ido y otros aun existen.
Todos esos lugares tienen sus momentos
con amantes y amigos que aun puedo recordar.
Algunos han muerto y otros viven,
en mi vida los he amado a todos.
Pero de todos esos amantes y amigos
no hay nadie que pueda compararse contigo.
Y estas memorias pierden su sentido
cuando pienso en el amor como algo nuevo.
Aunque s que nunca perder el afecto
por las personas y cosas que se fueron antes,
s que a menudo parar y pensar en ellas,
en mi vida te querr a ti ms.

You might also like