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

📄 frmgeneratecrc.frm

📁 非常著名的人工智能程序bob,想学人工智能的可以参考下.
💻 FRM
字号:
VERSION 5.00
Begin VB.Form FrmGenerateCRC 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "Generate CRC String"
   ClientHeight    =   3285
   ClientLeft      =   45
   ClientTop       =   330
   ClientWidth     =   6540
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3285
   ScaleWidth      =   6540
   ShowInTaskbar   =   0   'False
   StartUpPosition =   3  'Windows Default
   Begin VB.TextBox Text1 
      Enabled         =   0   'False
      Height          =   315
      Left            =   2790
      Locked          =   -1  'True
      TabIndex        =   4
      Top             =   2130
      Width           =   2055
   End
   Begin VB.CommandButton Command1 
      Caption         =   "&Generate CRC"
      Height          =   585
      Left            =   2790
      TabIndex        =   3
      Top             =   2610
      Width           =   2085
   End
   Begin VB.FileListBox Files 
      Height          =   3210
      Left            =   30
      TabIndex        =   0
      Top             =   0
      Width           =   2655
   End
   Begin VB.Label Label2 
      Height          =   315
      Left            =   2790
      TabIndex        =   2
      Top             =   450
      Width           =   3615
   End
   Begin VB.Label Label1 
      Height          =   255
      Left            =   2820
      TabIndex        =   1
      Top             =   90
      Width           =   3585
   End
End
Attribute VB_Name = "FrmGenerateCRC"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim CurrentFile As String

Private Sub Command1_Click()
    If CurrentFile <> "" Then
        Text1.Enabled = True
        Text1.Text = CRCfile.GetCRCforFile(Files.Path & "\" & CurrentFile)
    End If
End Sub

Private Sub Files_Click()
    CurrentFile = Files.FileName
    Label1.Caption = CurrentFile
    Label2.Caption = "Size: " & FileLen(Files.Path & "\" & Files.FileName) & " Bytes"
End Sub

Private Sub Form_Load()
Files.Path = App.Path & "\data\"
End Sub

⌨️ 快捷键说明

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