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

📄 放大图像.frm

📁 上传的包含两个文件
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   5685
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   8040
   LinkTopic       =   "Form1"
   ScaleHeight     =   5685
   ScaleWidth      =   8040
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "暂停"
      Height          =   735
      Left            =   3120
      TabIndex        =   4
      Top             =   3960
      Width           =   1455
   End
   Begin VB.CommandButton Command1 
      Caption         =   "放大"
      Height          =   735
      Left            =   1080
      TabIndex        =   3
      Top             =   3960
      Width           =   1335
   End
   Begin VB.Timer Timer1 
      Enabled         =   0   'False
      Interval        =   200
      Left            =   4320
      Top             =   720
   End
   Begin VB.VScrollBar VScroll1 
      Height          =   3375
      LargeChange     =   20
      Left            =   5880
      Max             =   100
      TabIndex        =   0
      Top             =   1080
      Width           =   495
   End
   Begin VB.Label Label2 
      Caption         =   "慢"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   5880
      TabIndex        =   2
      Top             =   4800
      Width           =   495
   End
   Begin VB.Label Label1 
      Caption         =   "快"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   21.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   5880
      TabIndex        =   1
      Top             =   480
      Width           =   495
   End
   Begin VB.Image Image1 
      Height          =   1455
      Left            =   360
      Picture         =   "放大图像.frx":0000
      Stretch         =   -1  'True
      Top             =   480
      Width           =   2175
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Picture1_Click()

End Sub

Private Sub Command1_Click()
Timer1.Enabled = True
End Sub

Private Sub Command2_Click()
Timer1.Enabled = False
End Sub

Private Sub Timer1_Timer()

If Image1.Height < 3000 Then
Image1.Height = Image1.Height + 100
Image1.Width = Image1.Width + 100
End If

End Sub

Private Sub VScroll1_Change()
Timer1.Interval = Timer1.Interval + 1000
End Sub

⌨️ 快捷键说明

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