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

📄 form1.frm

📁 Visual Basic程序设计视频教程
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   BackColor       =   &H00FFFFFF&
   Caption         =   "Form1"
   ClientHeight    =   2910
   ClientLeft      =   60
   ClientTop       =   360
   ClientWidth     =   3045
   FillColor       =   &H00FFFFFF&
   LinkTopic       =   "Form1"
   ScaleHeight     =   2910
   ScaleWidth      =   3045
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   375
      Left            =   960
      TabIndex        =   0
      Top             =   2280
      Width           =   855
   End
   Begin VB.Image Image1 
      Height          =   1830
      Index           =   4
      Left            =   2400
      Picture         =   "Form1.frx":0000
      Top             =   1680
      Visible         =   0   'False
      Width           =   2325
   End
   Begin VB.Image Image1 
      Height          =   1815
      Index           =   3
      Left            =   1680
      Picture         =   "Form1.frx":DF4A
      Top             =   1440
      Visible         =   0   'False
      Width           =   2310
   End
   Begin VB.Image Image1 
      Height          =   1800
      Index           =   2
      Left            =   1200
      Picture         =   "Form1.frx":1BADC
      Top             =   1320
      Visible         =   0   'False
      Width           =   2295
   End
   Begin VB.Image Image1 
      Height          =   1830
      Index           =   0
      Left            =   960
      Picture         =   "Form1.frx":292BE
      Top             =   960
      Visible         =   0   'False
      Width           =   2325
   End
   Begin VB.Image Image1 
      Height          =   1845
      Index           =   1
      Left            =   480
      Picture         =   "Form1.frx":37208
      Top             =   480
      Visible         =   0   'False
      Width           =   2325
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim Index As Integer    ' 此一变量的声明须书写在程序区块之外
Private Sub Command1_Click()
    Set Form1.Picture = Image1(Index).Picture
    Index = Index + 1
    If Index > 4 Then Index = 0
End Sub

⌨️ 快捷键说明

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