15.04.2007

Radio Düğmesi(VB)

DERS NOTU
Public Class Form1

Dim ilksayi, ikincisayi As Double

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
ilksayi = TextBox1.Text
ikincisayi = TextBox2.Text
If RadioButton1.Checked = True Then
textbox3.Text=ilksayi \ ikinci sayi
End If
If RadioButton2.Checked = True Then
textbox3.Text=ilksayi mod ikinci sayi
End If
If RadioButton3.Checked = True Then
textbox3.Text=ilksayi ^ ikinci sayi
End If
If RadioButton2.Checked = True Then
textbox3.Text=ilksayi & ikinci sayi
End If
End Sub
End Class

Hiç yorum yok: