You are on page 1of 1

VISUAL BASIC

SUMAR
TextBox3.Text=Val (Text.Box1.Text)+Val (TextBox2.Text)
Clic = LISTA DE EVENTOS – EL RESULTADO
Label4.Text=Val (Text.Box1.Text)+Val (Text.Box2.Text)
PARA LIMPIAR
Text.Box1.Text=” “
Text.Box2.Text=” “
Text.Box4.Text=” “
Text.Box1.Select ( )
BOTON CANCELAR 1
If Msgbox (“SEGURO DE SALIR”,vsYesNo, “ANTUA”)=vsYes then
End
End If
BOTON CANCELAR 2
Dim OK as String
OK =MsgBox(“SEGURO DE SALIR”,vsYesNo,“ANTUA”If OK = 1 Then

End

End If

You might also like