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 Public Class Form2 Private Sub Form2_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 SalirToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SalirToolStripMenuItem.Click End End Sub Private Sub CuadradoToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CuadradoToolStripMenuItem.Click Me.Hide() Form3.Show() End Sub Private Sub RectánguloToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RectánguloToolStripMenuItem.Click Me.Hide() Form5.Show() End Sub Private Sub TriánguloToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TriánguloToolStripMenuItem.Click Me.Hide() Form4.Show() End Sub Private Sub Timer1_Tick_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick animacion() End Sub Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove u = Label1() c = Label2() d = Label3() Timer1.Start() End Sub End Class Leonel Navarrete
Utilizando un Módulo Public Class Form3 Private Sub MenúPrincipalToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenúPrincipalToolStripMenuItem.Click Form2.Show() Me.Hide() End Sub Private Sub SalirToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SalirToolStripMenuItem.Click End End Sub Private Sub Form3_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 Label7.Text = Val(TextBox1.Text) * 4 Label8.Text = Val(TextBox1.Text) * Val(TextBox1.Text) 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 and 34: Propiedades de los objetos Public C
- Page 35: 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 />
Public Class Form2<br />
Private Sub Form2_Load(ByVal sen<strong>de</strong>r As System.Object, ByVal e As System.EventArgs) Handles<br />
MyBase.Load<br />
u = Label1()<br />
c = Label2()<br />
d = Label3<br />
Timer1.Start()<br />
End Sub<br />
Private Sub SalirToolStripMenuItem_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal e As<br />
System.EventArgs) Handles SalirToolStripMenuItem.Click<br />
End<br />
End Sub<br />
Private Sub CuadradoToolStripMenuItem_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal e As<br />
System.EventArgs) Handles CuadradoToolStripMenuItem.Click<br />
Me.Hi<strong>de</strong>()<br />
Form3.Show()<br />
End Sub<br />
Private Sub RectánguloToolStripMenuItem_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal e As<br />
System.EventArgs) Handles RectánguloToolStripMenuItem.Click<br />
Me.Hi<strong>de</strong>()<br />
Form5.Show()<br />
End Sub<br />
Private Sub TriánguloToolStripMenuItem_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal e As<br />
System.EventArgs) Handles TriánguloToolStripMenuItem.Click<br />
Me.Hi<strong>de</strong>()<br />
Form4.Show()<br />
End Sub<br />
Private Sub Timer1_Tick_1(ByVal sen<strong>de</strong>r As System.Object, ByVal e As System.EventArgs)<br />
Handles Timer1.Tick<br />
animacion()<br />
End Sub<br />
Private Sub PictureBox1_MouseMove(ByVal sen<strong>de</strong>r As Object, ByVal e As<br />
System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove<br />
u = Label1()<br />
c = Label2()<br />
d = Label3()<br />
Timer1.Start()<br />
End Sub<br />
End Class<br />
Leonel Navarrete