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
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Public Class Form5<br />
Private Sub Button1_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal<br />
e As System.EventArgs) Handles Button1.Click<br />
TextBox1.ForeColor = Color.Red<br />
End Sub<br />
Private Sub Button2_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal<br />
e As System.EventArgs) Handles Button2.Click<br />
Me.BackColor = Color.Black<br />
End Sub<br />
Private Sub Button10_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal<br />
e As System.EventArgs) Handles Button10.Click<br />
Me.BackColor = Color.White<br />
TextBox1.ForeColor = Color.Black<br />
TextBox1.Text = ""<br />
TextBox1.Focus()<br />
End Sub<br />
Private Sub Button8_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal<br />
e As System.EventArgs) Handles Button8.Click<br />
Form1.Close()<br />
End Sub<br />
Private Sub Button9_Click(ByVal sen<strong>de</strong>r As System.Object, ByVal<br />
e As System.EventArgs) Handles Button9.Click<br />
Form1.Show()<br />
Me.Hi<strong>de</strong>()<br />
End Sub<br />
End Class<br />
Leonel Navarrete