Süper Üye
[font=tahoma, verdana, arial]Gerekenler[/FONT][font=tahoma, verdana, arial]: [/FONT][font=tahoma, verdana, arial]4 adet command,2 adet text, 1 adet label[/FONT]
[font=tahoma, verdana, arial]ALINTIDIR.[/FONT]
PHP:
Private Sub Command1_Click()
Label1.Caption = Val(Text1.Text) + Val(Text2.Text)
End Sub
Private Sub Command2_Click()
Label1.Caption = Val(Text1.Text) - Val(Text2.Text)
End Sub
Private Sub Command3_Click()
Label1.Caption = Val(Text1.Text) * Val(Text2.Text)
End Sub
Private Sub Command4_Click()
Label1.Caption = Val(Text1.Text) / Val(Text2.Text)
End Sub
Private Sub Form_Load()
Command1.Caption = "+"
Command2.Caption = "-"
Command3.Caption = "*"
Command4.Caption = "/"
End Sub