📄 例6.frm
字号:
VERSION 5.00
Begin VB.Form Frm7_6_2
BackColor = &H00FFC0C0&
Caption = "7-6-2:设计实例--交换图形"
ClientHeight = 4875
ClientLeft = 375
ClientTop = 1260
ClientWidth = 8880
LinkTopic = "Form1"
ScaleHeight = 4875
ScaleWidth = 8880
Begin VB.CommandButton Command1
BackColor = &H00FFFF00&
Caption = "交换图片"
BeginProperty Font
Name = "宋体"
Size = 18
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3480
Style = 1 'Graphical
TabIndex = 0
Top = 2640
Width = 1815
End
Begin VB.Label Label2
BackColor = &H000000FF&
Caption = "问题:1、如何装入图形? 2、图形大小能否调整?"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 375
Left = 720
TabIndex = 2
Top = 3600
Width = 7215
End
Begin VB.Label Label1
BackColor = &H0000FFFF&
Caption = "提示:交换图片与交换两个变量的值思路相同!"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF00FF&
Height = 375
Left = 720
TabIndex = 1
Top = 4200
Width = 7215
End
Begin VB.Image Image3
Height = 11520
Left = 4080
Top = 1440
Visible = 0 'False
Width = 15360
End
Begin VB.Image Image2
Height = 2055
Left = 4680
Picture = "例6.frx":0000
Stretch = -1 'True
Top = 240
Width = 3735
End
Begin VB.Image Image1
Height = 2055
Left = 240
Picture = "例6.frx":0BC2
Stretch = -1 'True
Top = 240
Width = 3735
End
End
Attribute VB_Name = "Frm7_6_2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Image3.Picture = Image1.Picture
Image1.Picture = Image2.Picture
Image2.Picture = Image3.Picture
Image3.Picture = LoadPicture
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -