form1.frm

来自「手机话费管理系统!!!管理你的手机通话!!值得一看!!~」· FRM 代码 · 共 88 行

FRM
88
字号
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   4485
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   6330
   LinkTopic       =   "Form1"
   ScaleHeight     =   4485
   ScaleWidth      =   6330
   StartUpPosition =   3  '窗口缺省
   Begin VB.PictureBox Picture2 
      Height          =   1365
      Index           =   1
      Left            =   2160
      ScaleHeight     =   1305
      ScaleWidth      =   1755
      TabIndex        =   3
      Top             =   315
      Width           =   1815
      Begin VB.Image Image1 
         Height          =   735
         Index           =   1
         Left            =   180
         Top             =   270
         Width           =   1275
      End
   End
   Begin VB.PictureBox Picture1 
      Height          =   4245
      Left            =   135
      ScaleHeight     =   4185
      ScaleWidth      =   5940
      TabIndex        =   0
      Top             =   90
      Width           =   6000
      Begin VB.Frame Frame1 
         Height          =   4065
         Left            =   -45
         TabIndex        =   1
         Top             =   -100
         Width           =   5955
         Begin VB.PictureBox Picture2 
            Height          =   1365
            Index           =   0
            Left            =   135
            ScaleHeight     =   1305
            ScaleWidth      =   1755
            TabIndex        =   2
            Top             =   315
            Width           =   1815
            Begin VB.Image Image1 
               Height          =   735
               Index           =   0
               Left            =   180
               Top             =   270
               Width           =   1275
            End
         End
      End
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
  Image1(0).Picture = LoadPicture("e:\quote\bitmaps\calc.bmp")
  If Image1(0).Width < Picture2(0).ScaleWidth Then
     Image1(0).Left = (Picture2(0).ScaleWidth - Image1(0).Width) / 2
     Image1(0).Top = (Picture2(0).ScaleHeight - Image1(0).Height) / 2
  End If
  
  Image1(1).Picture = LoadPicture("e:\quote\bitmaps\flower.bmp")
  If Image1(1).Width < Picture2(1).ScaleWidth Then
     Image1(1).Left = (Picture2(1).ScaleWidth - Image1(1).Width) / 2
     Image1(1).Top = (Picture2(1).ScaleHeight - Image1(1).Height) / 2
  Else
     Image1(1).Stretch = True
     Image1(1).Left = 0
     Image1(1).Top = 0
     Image1(1).Height = Picture2(1).ScaleHeight
     Image1(1).Width = Picture2(1).ScaleWidth
  End If
  
End Sub

⌨️ 快捷键说明

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