Ejercicios de programación .net (nivel inicial)
Se muestra el funcionamiento de los conceptos básicos para programar en .net Se muestra el funcionamiento de los conceptos básicos para programar en .net
Utilizando un Módulo Module Module1 Public Contador As Integer = 0 Public u, c, d As Object Public Sub animacion() If Contador = 3 Then Contador = 0 Else Contador = Contador + 1 Select Case Contador Case 1 u.Visible = True c.Visible = False d.Visible = False Case 2 u.Visible = False c.Visible = True d.Visible = False Case 3 u.Visible = False c.Visible = False d.Visible = True End Select End If End Sub End Module Leonel Navarrete
Utilizando un Módulo Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load u = Label1() c = Label2() d = Label3 Timer1.Start() End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick animacion() End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If TextBox1.Text = "Leo" And Val(TextBox2.Text) = 123 Then Timer2.Start() Else MsgBox("Usuario o contraseña incorrecto", MsgBoxStyle.Critical) End If End Sub Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick ProgressBar1.Increment(1) If ProgressBar1.Value = 100 Then Me.Hide() Form2.Show() Timer2.Stop() End If End Sub End Class Leonel Navarrete
- Page 1 and 2: NAVARRETE MONTENEGRO ERIK LEONEL Le
- Page 3 and 4: Manipular caracteres con MID Diseñ
- Page 5 and 6: Manipular caracteres con LEFT Dise
- Page 7 and 8: Manipular caracteres con SPACE Dise
- Page 9 and 10: Enlazar Formularios Programación F
- Page 11 and 12: Convertir Caracteres Programación
- Page 13 and 14: EDADES Leonel Navarrete
- Page 15 and 16: Select Case Con LABEL Leonel Navarr
- Page 17 and 18: Usuario y Contraseña Leonel Navarr
- Page 19 and 20: Juego de Cartas Leonel Navarrete
- Page 21 and 22: Funciones Y Procedimientos Leonel N
- Page 23 and 24: Funciones Y Procedimientos Leonel N
- Page 25 and 26: Propiedades de los objetos Public C
- Page 27 and 28: Propiedades de los objetos Public C
- Page 29 and 30: Propiedades de los objetos Public C
- Page 31 and 32: Propiedades de los objetos Public C
- Page 33: Propiedades de los objetos Public C
- Page 37 and 38: Utilizando un Módulo Public Class
- Page 39 and 40: Utilizando un Módulo Public Class
- Page 41 and 42: Public Class Form1 Private Sub Butt
- Page 43 and 44: Public Class Form2 Private Sub sala
- Page 45 and 46: MouseMove Public Class Form4 Privat
- Page 47 and 48: Tiempo del día Public Class Form1
- Page 49 and 50: Bucle For Public Class Form1 Privat
- Page 51 and 52: Public Class Form1 Private Sub Butt
- Page 53 and 54: Public Class Form3 Private Sub Butt
- Page 55 and 56: Public Class Form5 Private Sub Butt
- Page 57 and 58: Public Class Form7 Dim mensual As D
- Page 59 and 60: Serie Fibonacci Public Class Form1
- Page 61 and 62: Public Class Form1 Private Sub Butt
- Page 63 and 64: Número Primo Public Class Form1 Pr
- Page 65 and 66: Public Class Form1 Private Sub Chec
- Page 67 and 68: For each Public Class Form1 Private
- Page 69 and 70: Vectores sumar pares - impares Publ
- Page 71 and 72: Matrices Public Class Form1 Private
- Page 73 and 74: Aplicación Leonel Navarrete
- Page 75 and 76: Private Sub Button2_Click(ByVal sen
- Page 77 and 78: Private Sub Button4_Click(ByVal sen
- Page 79 and 80: Public Class Form1 Private Sub Butt
- Page 81 and 82: While - Do - Do While Public Class
- Page 83: Private Sub Button2_Click(ByVal sen
Utilizando un Módulo<br />
Module Module1<br />
Public Contador As Integer = 0<br />
Public u, c, d As Object<br />
Public Sub animacion()<br />
If Contador = 3 Then<br />
Contador = 0<br />
Else<br />
Contador = Contador + 1<br />
Select Case Contador<br />
Case 1<br />
u.Visible = True<br />
c.Visible = False<br />
d.Visible = False<br />
Case 2<br />
u.Visible = False<br />
c.Visible = True<br />
d.Visible = False<br />
Case 3<br />
u.Visible = False<br />
c.Visible = False<br />
d.Visible = True<br />
End Select<br />
End If<br />
End Sub<br />
End Module<br />
Leonel Navarrete