Private Sub Command1_Click()
Text2.Text = Val(Text1.Text) * Val(Text1.Text)
End Sub
Private Sub Command2_Click()
Text1.Text = " "
Text2.Text = " "
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Text1_Change()
If Text1.Text <> " " Then
A = Val(Text1.Text)
End If
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii <> 57 Then
KeyAscii = 0
End If
End Sub
Private Sub Text2_Change()
If Text2.Text <> " " Then
A = Val(Text2.Text)
End If
End Sub
Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii <> 57 Then
KeyAscii = 0
End If
End Sub
miércoles, 12 de noviembre de 2008
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario