Академический Документы
Профессиональный Документы
Культура Документы
LA UNIN
Datos
Mdulo: Desarrollo de Software y Gestin de Base de Unidad Didctica: Herramientas de Desarrollo de Software.
IESTP. LA UNIN
Datos
Mdulo: Desarrollo de Software y Gestin de Base de Unidad Didctica: Herramientas de Desarrollo de Software.
Public Class Form1 Private Sub txtNombre_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtNombre.KeyPress If Asc(e.KeyChar) = 13 Then txtApellido.Focus() End If End Sub Private Sub txtApellido_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtApellido.KeyPress If Asc(e.KeyChar) = 13 Then txtTelefono.Focus() End If End Sub Private Sub txtTelefono_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtTelefono.KeyPress If Asc(e.KeyChar) = 13 Then txtDireccion.Focus() End If End Sub Private Sub txtDireccion_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles txtDireccion.KeyPress If Asc(e.KeyChar) = 13 Then btnIngresar.Focus() End If End Sub Private Sub btnLimpiar_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLimpiar.Click txtNombre.Text = "" txtApellido.Text = "" txtTelefono.Text = "" txtDireccion.Text = "" txtNombre.Focus() End Sub Private Sub btnSalir_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSalir.Click Me.Close() End Sub End Class
Lic. Walter H. Nez Guerrero.