form2.frm

来自「模拟文件管理系统」· FRM 代码 · 共 255 行

FRM
255
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "文件管理系统"
   ClientHeight    =   5925
   ClientLeft      =   7260
   ClientTop       =   555
   ClientWidth     =   8310
   FillStyle       =   3  'Vertical Line
   LinkTopic       =   "Form2"
   Picture         =   "Form2.frx":0000
   ScaleHeight     =   5733.429
   ScaleMode       =   0  'User
   ScaleWidth      =   16839.57
   StartUpPosition =   1  '所有者中心
   Begin VB.CommandButton Command6 
      Caption         =   "  驱动器  属性查询"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   1320
      MousePointer    =   2  'Cross
      Picture         =   "Form2.frx":96C1
      Style           =   1  'Graphical
      TabIndex        =   8
      Top             =   5040
      Width           =   1095
   End
   Begin VB.CommandButton Command5 
      Caption         =   " 文  本 编辑器"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   3120
      MousePointer    =   2  'Cross
      Picture         =   "Form2.frx":A4BA
      Style           =   1  'Graphical
      TabIndex        =   7
      Top             =   4080
      Width           =   1095
   End
   Begin VB.Timer tmrclock 
      Interval        =   1000
      Left            =   5280
      Top             =   3000
   End
   Begin VB.CommandButton Command1 
      Caption         =   "  退   出  系   统"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   5160
      MousePointer    =   2  'Cross
      Picture         =   "Form2.frx":ADE6
      Style           =   1  'Graphical
      TabIndex        =   4
      Top             =   5040
      Width           =   1095
   End
   Begin VB.CommandButton Command4 
      Caption         =   "  文件浏  览 器"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   1320
      MousePointer    =   2  'Cross
      Picture         =   "Form2.frx":B7C8
      Style           =   1  'Graphical
      TabIndex        =   3
      Top             =   4080
      Width           =   1095
   End
   Begin VB.CommandButton Command3 
      Caption         =   "  图片浏  览 器"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   5160
      MousePointer    =   2  'Cross
      Picture         =   "Form2.frx":C22D
      Style           =   1  'Graphical
      TabIndex        =   2
      Top             =   4080
      Width           =   1095
   End
   Begin VB.CommandButton Command2 
      Caption         =   "学生档案 查询表"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   3120
      MousePointer    =   2  'Cross
      Picture         =   "Form2.frx":D895
      Style           =   1  'Graphical
      TabIndex        =   1
      Top             =   5040
      Width           =   1095
   End
   Begin VB.Timer Timer1 
      Interval        =   120
      Left            =   6360
      Top             =   1560
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      Caption         =   "现在时间:"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   300
      Left            =   2520
      TabIndex        =   6
      Top             =   3000
      Width           =   1575
   End
   Begin VB.Label lblclock 
      AutoSize        =   -1  'True
      BackStyle       =   0  'Transparent
      BorderStyle     =   1  'Fixed Single
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   15
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   360
      Left            =   4320
      TabIndex        =   5
      Top             =   3000
      Width           =   225
   End
   Begin VB.Label lbl1 
      BackStyle       =   0  'Transparent
      Caption         =   "欢迎进入文件管理系统"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   21.75
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00FF00FF&
      Height          =   615
      Left            =   1200
      TabIndex        =   0
      Top             =   1440
      Width           =   4575
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Private Sub Command1_Click()
End
End Sub

Private Sub Command2_Click()
Form1.Hide
Form2.Show
End Sub

Private Sub Command3_Click()
Form1.Hide
Form3.Show
End Sub

Private Sub Command4_Click()
Form1.Hide
Form4.Show
End Sub

Private Sub Command5_Click()
Form1.Hide
Form6.Show
End Sub

Private Sub Command6_Click()
Form1.Hide
Form7.Show
End Sub

Private Sub Form_Load()

End Sub

Private Sub Timer1_Timer()
If lbl1.Left > 16300 Then
  lbl1.Left = -8300
End If
lbl1.Move lbl1.Left + 600
End Sub

Private Sub tmrclock_Timer()
lblclock.Caption = Time$
End Sub

⌨️ 快捷键说明

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