Kod:
Dim sayi1 as Integer = 5
Dim sayi2 as Integer = 12
Dim toplam as Integer
toplam = sayi1 + sayi2
If RadioButton1.Checked = True
Textbox1.Text = " Belirlenmiş Yazı"
ElseIf RadioButton2.Checked = True
Textbox1.Text = toplam
End If