form1.frm

来自「电池控件」· FRM 代码 · 共 41 行

FRM
41
字号
VERSION 5.00
Object = "{B4CFDF6B-187C-46FC-99E9-3317843A8769}#1.0#0"; "Battery.ocx"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   6495
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   8130
   LinkTopic       =   "Form1"
   ScaleHeight     =   6495
   ScaleWidth      =   8130
   StartUpPosition =   2  'CenterScreen
   Begin BATTERYLib.Battery Battery1 
      Height          =   6015
      Left            =   120
      TabIndex        =   1
      Top             =   240
      Width           =   7695
      _Version        =   65536
      _ExtentX        =   13573
      _ExtentY        =   10610
      _StockProps     =   0
   End
   Begin VB.CommandButton Command1 
      Caption         =   "Command1"
      Height          =   375
      Left            =   2640
      TabIndex        =   0
      Top             =   360
      Width           =   1335
   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()
    Battery1.BackPicture = "C:\1.jpg"
End Sub

⌨️ 快捷键说明

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