📄 form1.frm
字号:
VERSION 5.00
Object = "{60CC5D62-2D08-11D0-BDBE-00AA00575603}#1.0#0"; "SysTray.ocx"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 165
ClientTop = 735
ClientWidth = 4680
Icon = "Form1.frx":0000
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin SysTrayCtl.cSysTray cSysTray1
Left = 1800
Top = 510
_ExtentX = 900
_ExtentY = 900
InTray = -1 'True
TrayIcon = "Form1.frx":030A
TrayTip = "dfgsdfgsdfg"
End
Begin VB.Menu File
Caption = "File"
Begin VB.Menu a
Caption = "a"
End
Begin VB.Menu b
Caption = "b"
End
Begin VB.Menu c
Caption = "c"
End
Begin VB.Menu d
Caption = "d"
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub cSysTray1_MouseUp(Button As Integer, Id As Long)
If Button = 2 Then
PopupMenu Form1.File
End If
If Button = 1 Then MsgBox "Button1"
End Sub
Private Sub Form_Load()
cSysTray1.InTray = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -