wfu_tester.frm

来自「vb实用编程150例(光盘) 是我从网上下载的」· FRM 代码 · 共 74 行

FRM
74
字号
VERSION 5.00
Begin VB.Form WFU_Tester 
   Caption         =   "将窗体压入系统托盘"
   ClientHeight    =   2490
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4125
   LinkTopic       =   "Form1"
   ScaleHeight     =   2490
   ScaleWidth      =   4125
   StartUpPosition =   3  '窗口缺省
   Begin VB.TextBox rText 
      BorderStyle     =   0  'None
      Height          =   225
      Left            =   1680
      TabIndex        =   2
      Text            =   "11"
      Top             =   720
      Width           =   465
   End
   Begin VB.CommandButton Command3 
      Caption         =   "恢复系统托盘"
      Height          =   555
      Left            =   1920
      TabIndex        =   1
      Top             =   1440
      Width           =   1395
   End
   Begin VB.CommandButton Command2 
      Caption         =   "压入系统托盘"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   555
      Left            =   360
      TabIndex        =   0
      Top             =   1440
      Width           =   1335
   End
   Begin VB.Label Label1 
      Caption         =   "窗体大小调整:"
      Height          =   195
      Left            =   240
      TabIndex        =   3
      Top             =   720
      Width           =   1305
   End
End
Attribute VB_Name = "WFU_Tester"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()

End Sub

Private Sub Command3_Click()
ResizeTray rText.Text, 2
End Sub

Private Sub Command2_Click()
ResizeTray rText.Text, 1
Load WFU_Tray
Encapsulate_Tray
End Sub

⌨️ 快捷键说明

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