10.04.2019 Views

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Utilizando un Módulo<br />

Public Class Form3<br />

Private Sub MenúPrincipalToolStripMenuItem_Click(ByVal sen<strong>de</strong>r As<br />

System.Object, ByVal e As System.EventArgs) Handles<br />

MenúPrincipalToolStripMenuItem.Click<br />

Form2.Show()<br />

Me.Hi<strong>de</strong>()<br />

End Sub<br />

Private Sub SalirToolStripMenuItem_Click(ByVal sen<strong>de</strong>r As<br />

System.Object, ByVal e As System.EventArgs) Handles<br />

SalirToolStripMenuItem.Click<br />

End<br />

End Sub<br />

Private Sub Form3_Load(ByVal sen<strong>de</strong>r As System.Object, ByVal e As<br />

System.EventArgs) Handles MyBase.Load<br />

u = Label1()<br />

c = Label2()<br />

d = Label3<br />

Timer1.Start()<br />

End Sub<br />

Private Sub Timer1_Tick(ByVal sen<strong>de</strong>r As System.Object, ByVal e As<br />

System.EventArgs) Handles Timer1.Tick<br />

animacion()<br />

End Sub<br />

Private Sub Button1_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal e As<br />

System.EventArgs) Handles Button1.Click<br />

Label7.Text = Val(TextBox1.Text) * 4<br />

Label8.Text = Val(TextBox1.Text) * Val(TextBox1.Text)<br />

End Sub<br />

End Class<br />

Leonel Navarrete

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!