Documente Academic
Documente Profesional
Documente Cultură
Inherits System.Windows.Forms.Form
Dim a As Double
Dim b As Double
Dim c As Double
Dim d As Double
End Sub
End Sub
#End Region
a = 0
b = 0
c = 0
d = 0
txt_aff.Focus()
End Sub
Call ajouter("1")
End Sub
Call ajouter("2")
End Sub
Call ajouter("3")
End Sub
Call ajouter("4")
End Sub
Call ajouter("5")
End Sub
Call ajouter("6")
End Sub
Call ajouter("7")
End Sub
Call ajouter("8")
End Sub
Private Sub btn_9_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btn_9.Click
Call ajouter("9")
End Sub
End Sub
Sub ajouter(ByVal caracteres As String)
txt_aff.Text = txt_aff.Text + caracteres
End Sub
End If
If bls = True Then
y = Val(b - txt_aff.Text)
txt_aff.Text = y
bls = False
End If
If blm = True Then
z = Val(c * txt_aff.Text)
txt_aff.Text = z
blm = False
End If
If bld = True Then
w = Val(d / txt_aff.Text)
txt_aff.Text = w
bld = False
End If
End Sub
End Sub
End If
Next j
Next i
If compt <> entree.Length Then
test = False
Else
test = True
End If
Return test
End Function
End Class