Page 1

1.message box

This is the code of btnmsg when you double cklick this button then you will write this code MessageBox.Show("this is my first programme")

2.this form concatenate the first name and last name after that it display the full name

When you double click full name button then write this code Dim fname As String Dim lname As String Dim fullname As String fname = Txtfname.Text lname = Txtlname.Text fullname = fname+lname txtfullname.text = fullname


3 .This form uses Radio button that checked if you are under 16 or above 16

When you double cklick age botton then write this code If RadioButton1.Checked = True Then MessageBox.Show("you are under 16") ElseIf RadioButton2.Checked = True Then MessageBox.Show("you are above 16") End If

4.This form uses to check box which you select different programming language

When you double click

select button

the

write this code

If CheckBox1.Checked = True Then MessageBox.Show("thi si VB.NET") End If If CheckBox2.Checked = True Then MessageBox.Show("this is ASP.NET") End If If CheckBox3.Checked = True Then MessageBox.Show("this is ADO.NET") End If

Ict  

waxa leh cabdi

Read more
Read more
Similar to
Popular now
Just for you