Vb.net Radio Button

09/03/2014, 18:30

cyberwars

Sa beyler sorunum şu radiobutonlarım var şimdi radiobutton1'e tıkladığımda textbox 1 de istedeğim yazı çıksın radiobutton2 ye tıkladığım textbox1'de başka yazı çıkacak yardım
09/03/2014, 19:16

~~KaG~~

if(radiobutton1.checked =true)
{
Textbox1.text ="istenilen yazı"
}

Yanlış hatırlamıyorsam böyle olması lazım
25/05/2014, 05:19

Gorkemku

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

bu işini görür sanırım