⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frmabout.frm

📁 这是一本学习串口编程喝计算机监控的好书里面是用VB开发的源代码
💻 FRM
字号:
VERSION 5.00
Begin VB.Form frmAbout 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "About MyApp"
   ClientHeight    =   3075
   ClientLeft      =   2340
   ClientTop       =   1935
   ClientWidth     =   5205
   ClipControls    =   0   'False
   ControlBox      =   0   'False
   LinkTopic       =   "Form2"
   LockControls    =   -1  'True
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2122.42
   ScaleMode       =   0  'User
   ScaleWidth      =   4887.764
   StartUpPosition =   1  'CenterOwner
   Begin VB.PictureBox picIcon 
      AutoSize        =   -1  'True
      ClipControls    =   0   'False
      Height          =   540
      Left            =   4440
      Picture         =   "frmAbout.frx":0000
      ScaleHeight     =   337.12
      ScaleMode       =   0  'User
      ScaleWidth      =   337.12
      TabIndex        =   1
      Top             =   240
      Width           =   540
   End
   Begin VB.CommandButton cmdOK 
      Cancel          =   -1  'True
      Caption         =   "OK"
      Default         =   -1  'True
      Height          =   345
      Left            =   4320
      TabIndex        =   0
      Top             =   2640
      Width           =   780
   End
   Begin VB.Label Label1 
      Caption         =   "声明: 本软件有偿使用,未经授权不可商业传播 (欢迎试用)"
      Height          =   255
      Left            =   240
      TabIndex        =   7
      Top             =   2040
      Width           =   4695
   End
   Begin VB.Label lblComments 
      Caption         =   "Comments"
      ForeColor       =   &H00000000&
      Height          =   210
      Left            =   1320
      TabIndex        =   6
      Top             =   1440
      Width           =   3885
   End
   Begin VB.Image Image1 
      Height          =   1545
      Left            =   120
      Picture         =   "frmAbout.frx":030A
      Stretch         =   -1  'True
      Top             =   120
      Width           =   1050
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00808080&
      BorderStyle     =   6  'Inside Solid
      Index           =   1
      X1              =   84.515
      X2              =   4732.821
      Y1              =   1687.583
      Y2              =   1687.583
   End
   Begin VB.Label lblDescription 
      Caption         =   "App Description"
      ForeColor       =   &H00000000&
      Height          =   210
      Left            =   1320
      TabIndex        =   2
      Top             =   1200
      Width           =   3885
   End
   Begin VB.Label lblTitle 
      Caption         =   "Application Title"
      ForeColor       =   &H00000000&
      Height          =   480
      Left            =   1320
      TabIndex        =   4
      Top             =   240
      Width           =   3285
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00FFFFFF&
      BorderWidth     =   2
      Index           =   0
      X1              =   84.515
      X2              =   4732.821
      Y1              =   1687.583
      Y2              =   1687.583
   End
   Begin VB.Label lblVersion 
      Caption         =   "Version"
      Height          =   225
      Left            =   1320
      TabIndex        =   5
      Top             =   840
      Width           =   3885
   End
   Begin VB.Label lblCopyRight 
      Caption         =   "Warning: ..."
      ForeColor       =   &H00000000&
      Height          =   345
      Left            =   120
      TabIndex        =   3
      Top             =   2625
      Width           =   4095
   End
End
Attribute VB_Name = "frmAbout"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub cmdOK_Click()
  Unload Me
End Sub

Private Sub Form_Load()
    On Error Resume Next 'CallerID
    
    Me.Caption = "关于 " & App.Title
    lblVersion.Caption = "Version: " & App.Major & "." & App.Minor & "." & App.Revision
    lblTitle.Caption = App.Title
    lblDescription.Caption = "Description: " + App.FileDescription
    lblComments.Caption = "E-mail: " + App.Comments
    lblCopyRight.Caption = App.LegalCopyright
End Sub

⌨️ 快捷键说明

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