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

📄 同步效果.frm

📁 蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 Visual Basic 程序设计教程(第四版) 主编 蒋加伏 张林峰 找了好久的(不带密码的)
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   4290
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6975
   LinkTopic       =   "Form1"
   ScaleHeight     =   4290
   ScaleWidth      =   6975
   StartUpPosition =   3  '窗口缺省
   Begin VB.ComboBox cbotype 
      Height          =   300
      ItemData        =   "同步效果.frx":0000
      Left            =   480
      List            =   "同步效果.frx":0002
      TabIndex        =   3
      Top             =   3360
      Width           =   2055
   End
   Begin VB.FileListBox File1 
      Height          =   3330
      Left            =   3120
      TabIndex        =   2
      Top             =   240
      Width           =   3735
   End
   Begin VB.DirListBox Dir1 
      Height          =   2190
      Left            =   480
      TabIndex        =   1
      Top             =   840
      Width           =   1935
   End
   Begin VB.DriveListBox Drive1 
      Height          =   300
      Left            =   480
      TabIndex        =   0
      Top             =   240
      Width           =   1935
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub cbotype_click()
File1.Pattern = Mid(cbotype.Text, 21)
End Sub

Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub

Private Sub Drive1_Change()
Dir1.Path = Drive1.Drive
End Sub

Private Sub File1_Click()
MsgBox File1.FileName
End Sub

Private Sub File1_DblClick()
ChDir Dir1.Path
reval = Shell(File1.FileName, 1)
End Sub

Private Sub Form_Load()
Item = "所有文件(*.*)"
cbotype.AddItem Item + Space(20 - Len(Item)) + "*.*"
Item = "窗体文件(*.*)"
cbotype.AddItem Item + Space(20 - Len(Item)) + "*.frm"
Item = "可执行文件(*.exe)"
cbotype.AddItem Item + Space(20 - Len(Item)) + "*.exe"
cbotype.ListIndex = 0
End Sub

⌨️ 快捷键说明

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