📄 frmfull.frm
字号:
VERSION 5.00
Begin VB.Form frmFull
BorderStyle = 0 'None
ClientHeight = 5445
ClientLeft = 120
ClientTop = 120
ClientWidth = 5595
ClipControls = 0 'False
ControlBox = 0 'False
BeginProperty Font
Name = "Verdana"
Size = 6.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
KeyPreview = -1 'True
LinkTopic = "frmMain"
LockControls = -1 'True
Moveable = 0 'False
ScaleHeight = 363
ScaleMode = 3 'Pixel
ScaleWidth = 373
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
Begin VB.Timer timerWatch
Enabled = 0 'False
Interval = 60000
Left = 60
Top = 165
End
Begin VB.Frame frameWatch
BackColor = &H00000000&
BorderStyle = 0 'None
Height = 120
Left = 0
TabIndex = 1
Top = 0
Visible = 0 'False
Width = 405
Begin VB.Label Watch
AutoSize = -1 'True
BackColor = &H00000000&
BackStyle = 0 'Transparent
Caption = "00:00"
BeginProperty Font
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C0FFC0&
Height = 195
Left = 0
TabIndex = 2
Top = -45
Width = 420
End
End
Begin Thumb_DB.ucPicScroll Image_Full
Height = 3840
Left = 0
TabIndex = 0
TabStop = 0 'False
Top = 0
Width = 3840
_ExtentX = 6773
_ExtentY = 6773
BackColor = 0
BackColor = 0
Picture = "frmFull.frx":0000
End
Begin VB.Menu Image_Full_Menu
Caption = "ImageFull"
Visible = 0 'False
Begin VB.Menu opFull
Caption = "播放"
Index = 0
End
Begin VB.Menu opFull
Caption = "暂停"
Checked = -1 'True
Index = 1
End
Begin VB.Menu opFull
Caption = "-"
Index = 2
End
Begin VB.Menu opFull
Caption = "上一张"
Index = 3
End
Begin VB.Menu opFull
Caption = "下一张"
Index = 4
End
Begin VB.Menu opFull
Caption = "-"
Index = 5
End
Begin VB.Menu opFull
Caption = "第一张"
Index = 6
End
Begin VB.Menu opFull
Caption = "最后一张"
Index = 7
End
Begin VB.Menu opFull
Caption = "-"
Index = 8
End
Begin VB.Menu opFull
Caption = "延时: 3 秒."
Index = 9
Begin VB.Menu opDelay
Caption = "1 秒."
Index = 0
End
Begin VB.Menu opDelay
Caption = "2 秒."
Index = 1
End
Begin VB.Menu opDelay
Caption = "3 秒."
Checked = -1 'True
Index = 2
End
Begin VB.Menu opDelay
Caption = "4 秒."
Index = 3
End
Begin VB.Menu opDelay
Caption = "5 秒."
Index = 4
End
Begin VB.Menu opDelay
Caption = "10 秒."
Index = 5
End
Begin VB.Menu opDelay
Caption = "30 秒."
Index = 6
End
Begin VB.Menu opDelay
Caption = "1分钟."
Index = 7
End
End
Begin VB.Menu opFull
Caption = "-"
Index = 10
End
Begin VB.Menu opFull
Caption = "放大"
Index = 11
End
Begin VB.Menu opFull
Caption = "缩小"
Index = 12
End
Begin VB.Menu opFull
Caption = "100%"
Checked = -1 'True
Index = 13
End
Begin VB.Menu opFull
Caption = "最适合"
Index = 14
End
Begin VB.Menu opFull
Caption = "-"
Index = 15
End
Begin VB.Menu opFull
Caption = "编辑图片"
Index = 16
End
Begin VB.Menu opFull
Caption = "重新装载"
Index = 17
End
Begin VB.Menu opFull
Caption = "-"
Index = 18
End
Begin VB.Menu opFull
Caption = "显示说明"
Index = 19
End
Begin VB.Menu opFull
Caption = "显示时间"
Index = 20
End
Begin VB.Menu opFull
Caption = "背景颜色"
Index = 21
Begin VB.Menu opColor
Caption = "黑色"
Checked = -1 'True
Index = 0
End
Begin VB.Menu opColor
Caption = "蓝色"
Index = 1
End
Begin VB.Menu opColor
Caption = "红色"
Index = 2
End
Begin VB.Menu opColor
Caption = "绿色"
Index = 3
End
End
Begin VB.Menu opFull
Caption = "-"
Index = 22
End
Begin VB.Menu opFull
Caption = "退出"
Index = 23
End
End
End
Attribute VB_Name = "frmFull"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Form_Load()
'-- 设置默认的背景颜色“黑色”
opColor_Click 0
End Sub
Private Sub Form_Resize()
'-- 窗体大小的控制
Image_Full.Width = Me.ScaleWidth
Image_Full.Height = Me.ScaleHeight
End Sub
'------------------------------------------------------------------------------
' 菜单控制
'------------------------------------------------------------------------------
Private Sub Image_Full_DblClick()
opFull_Click (23) '-- 退出
End Sub
Private Sub Image_Full_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
If (Button = vbRightButton) Then PopupMenu Image_Full_Menu
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -