home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Depurar
- Caption = "Depurar"
- ClientHeight = 1365
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 3390
- LinkTopic = "Form1"
- ScaleHeight = 1365
- ScaleWidth = 3390
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Salir
- Caption = "Salir"
- Height = 495
- Left = 1920
- TabIndex = 3
- Top = 720
- Width = 1215
- End
- Begin VB.CommandButton Bot
- Caption = "Aceptar"
- Height = 495
- Left = 240
- TabIndex = 2
- Top = 720
- Width = 1215
- End
- Begin VB.TextBox Texto
- Height = 285
- Left = 1680
- TabIndex = 1
- Top = 240
- Width = 1455
- End
- Begin VB.Label Etiqueta
- Caption = "Escribe un n
- mero:"
- Height = 255
- Left = 240
- TabIndex = 0
- Top = 240
- Width = 1455
- End
- Attribute VB_Name = "Depurar"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Bot
- n_Click()
- If Texto.Text < 1 Then
- MsgBox ("N
- mero negativo")
- Else
- MsgBox ("N
- mero positivo")
- End If
- End Sub
- Private Sub Salir_Click()
- Unload Depurar
- End Sub
-