例[6-2].frm

来自「蒋加伏主编VB程序设计第四版PPT及全部课本源码 北京邮电大学出版社 」· FRM 代码 · 共 53 行

FRM
53
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "例[6-2] 交换图形"
   ClientHeight    =   3375
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4095
   LinkTopic       =   "Form1"
   ScaleHeight     =   3375
   ScaleWidth      =   4095
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command1 
      Caption         =   "交换"
      Height          =   615
      Left            =   2280
      TabIndex        =   0
      Top             =   2040
      Width           =   1335
   End
   Begin VB.Image Image3 
      Height          =   1215
      Left            =   120
      Top             =   1920
      Visible         =   0   'False
      Width           =   1815
   End
   Begin VB.Image Image2 
      Height          =   1440
      Left            =   2160
      Picture         =   "例[6-2].frx":0000
      Top             =   240
      Width           =   1830
   End
   Begin VB.Image Image1 
      Height          =   1440
      Left            =   120
      Picture         =   "例[6-2].frx":3CEF
      Top             =   240
      Width           =   1830
   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()
'交换图片
  Image3.Picture = Image1.Picture
  Image1.Picture = Image2.Picture
  Image2.Picture = Image3.Picture
End Sub

⌨️ 快捷键说明

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