Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

VERSION 5.

00

Begin VB.Form Form1

Caption = "Form1"

ClientHeight = 4065

ClientLeft = 60

ClientTop = 405

ClientWidth = 9030

LinkTopic = "Form1"

ScaleHeight = 4065

ScaleWidth = 9030

StartUpPosition = 3 'Windows Default

Begin VB.CommandButton Desnc

Caption = "Desencriptar"

BeginProperty Font

Name = "MS Sans Serif"

Size = 12

Charset = 0

Weight = 700

Underline = 0 'False

Italic = 0 'False

Strikethrough = 0 'False

EndProperty

Height = 615

Left = 4440

TabIndex = 3

Top = 1800

Width = 2295

End

Begin VB.CommandButton Encrip


Caption = "Encriptar"

BeginProperty Font

Name = "MS Sans Serif"

Size = 12

Charset = 0

Weight = 700

Underline = 0 'False

Italic = 0 'False

Strikethrough = 0 'False

EndProperty

Height = 615

Left = 1680

TabIndex = 2

Top = 1800

Width = 2295

End

Begin VB.TextBox Clave

Height = 495

Left = 2640

ScrollBars = 1 'Horizontal

TabIndex = 0

Top = 840

Width = 5295

End

Begin VB.Label Resultado

Alignment = 2 'Center

BackColor = &H8000000D&

BeginProperty Font

Name = "MS Sans Serif"


Size = 13.5

Charset = 0

Weight = 400

Underline = 0 'False

Italic = -1 'True

Strikethrough = 0 'False

EndProperty

ForeColor = &H8000000E&

Height = 615

Left = 1560

TabIndex = 4

Top = 2760

Width = 6135

End

Begin VB.Label Label1

Caption = "Ingrese la Clave"

BeginProperty Font

Name = "MS Sans Serif"

Size = 12

Charset = 0

Weight = 700

Underline = 0 'False

Italic = 0 'False

Strikethrough = 0 'False

EndProperty

Height = 375

Left = 240

TabIndex = 1

Top = 840
Width = 2175

End

End

Attribute VB_Name = "Form1"

Attribute VB_GlobalNameSpace = False

Attribute VB_Creatable = False

Attribute VB_PredeclaredId = True

Attribute VB_Exposed = False

Dim Objeto_encriptador As New Clase_encriptadora

Private Sub Encrip_Click()

Resultado.Caption = Objeto_encriptador.Encriptar_texto(Clave.Text)

End Sub

Private Sub Desnc_Click()

MsgBox "Texto Desencriptandose..." & Objeto_encriptador.Desencriptar_texto(Resultado.Caption)

End Sub

Private Sub Form_Load()

End Sub

You might also like