⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 choosedictsize.frm

📁 21加密算法,用vB语言编写实现,可了解各种加密算法的结构
💻 FRM
字号:
VERSION 5.00
Begin VB.Form ChooseDictSize 
   Caption         =   "http://www.play78.com"
   ClientHeight    =   2715
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   2715
   ScaleWidth      =   4680
   StartUpPosition =   2  '屏幕中心
   Begin VB.CommandButton btnOk 
      Caption         =   "确定"
      Height          =   495
      Left            =   1560
      TabIndex        =   4
      Top             =   1920
      Width           =   1695
   End
   Begin VB.ComboBox CMBDictionarySize 
      Height          =   315
      ItemData        =   "ChooseDictSize.frx":0000
      Left            =   2280
      List            =   "ChooseDictSize.frx":0002
      TabIndex        =   0
      Text            =   "Combo1"
      Top             =   1320
      Width           =   1095
   End
   Begin VB.Label Label3 
      Caption         =   "Kb"
      Height          =   255
      Left            =   3480
      TabIndex        =   3
      Top             =   1320
      Width           =   735
   End
   Begin VB.Label Label2 
      Alignment       =   1  'Right Justify
      Caption         =   "最大大小:"
      Height          =   255
      Left            =   120
      TabIndex        =   2
      Top             =   1320
      Width           =   2055
   End
   Begin VB.Label Label1 
      Caption         =   "选择压缩的最大单位:"
      BeginProperty Font 
         Name            =   "MS Sans Serif"
         Size            =   12
         Charset         =   0
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   735
      Left            =   360
      TabIndex        =   1
      Top             =   240
      Width           =   4095
   End
End
Attribute VB_Name = "ChooseDictSize"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False




Private Sub btnOk_Click()
    DictionarySize = Val(CMBDictionarySize.Text)
    Me.Hide
    DoEvents
End Sub

Private Sub CMBDictionarySize_Change()
    If Val(CMBDictionarySize.Text) < 1 Or Val(CMBDictionarySize.Text) > 64 Then
        MsgBox "This is not an item from the list"
        CMBDictionarySize.Text = Str(DictionarySize)
    End If
End Sub

Private Sub Form_Load()
    Dim X As Integer
    CMBDictionarySize.Clear
    For X = 1 To 64
        CMBDictionarySize.AddItem Str(X)
    Next
    If DictionarySize = 0 Then DictionarySize = 16
    CMBDictionarySize.Text = Str(DictionarySize)
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -