08-03-2011, 03:50 PM
Hello, this is my first TuT on here, so I'll make it very simple, hopefully help some people
Lets get started.
What you need:
2 TextBox (Can be More)
1 CheckBox
Code for CheckBox1:
(Delete ALL the CheckBox1 Code and add this:
Very simple, and could be used for various types of things.
Hope this helped
Lets get started.
What you need:
2 TextBox (Can be More)
1 CheckBox
Code for CheckBox1:
(Delete ALL the CheckBox1 Code and add this:
Code:
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
If CheckBox1.Checked = True Then
TextBox1.Text = "Text for TextBox1"
TextBox2.Text = "Text for Textbox2"
Else
TextBox1.Text = ""
TextBox2.Text = ""
End If
End Sub
Very simple, and could be used for various types of things.
Hope this helped