📄 form1.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "*\A..\..\..\..\..\DOCUME~1\FLOYDP~1\Desktop\XPUIME~1\Obj\DinkITXPUIMenus.vbp"
Begin VB.Form Form1
Appearance = 0 'Flat
Caption = "Form1"
ClientHeight = 6000
ClientLeft = 165
ClientTop = 855
ClientWidth = 8865
LinkTopic = "Form1"
ScaleHeight = 400
ScaleMode = 3 'Pixel
ScaleWidth = 591
StartUpPosition = 3 'Windows Default
Begin DinkITXPUIMenus.XPUIMenuControl XPUIMenus1
Height = 615
Left = 1680
TabIndex = 0
Top = 4440
Width = 975
_ExtentX = 1720
_ExtentY = 1085
End
Begin MSComctlLib.ImageList ImageList1
Left = 120
Top = 120
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 60
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":0000
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":015A
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":02B4
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":040E
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":0568
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":06C2
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":081C
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":0976
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":0AD0
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":0C2A
Key = ""
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":0D84
Key = ""
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":0EDE
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1038
Key = ""
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1192
Key = ""
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":12EC
Key = ""
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1446
Key = ""
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":15A0
Key = ""
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":16FA
Key = ""
EndProperty
BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1854
Key = ""
EndProperty
BeginProperty ListImage20 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":19AE
Key = ""
EndProperty
BeginProperty ListImage21 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1B08
Key = ""
EndProperty
BeginProperty ListImage22 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1C62
Key = ""
EndProperty
BeginProperty ListImage23 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1DBC
Key = ""
EndProperty
BeginProperty ListImage24 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":1F16
Key = ""
EndProperty
BeginProperty ListImage25 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":2070
Key = ""
EndProperty
BeginProperty ListImage26 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":21CA
Key = ""
EndProperty
BeginProperty ListImage27 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":2324
Key = ""
EndProperty
BeginProperty ListImage28 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":247E
Key = ""
EndProperty
BeginProperty ListImage29 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":25D8
Key = ""
EndProperty
BeginProperty ListImage30 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":2732
Key = ""
EndProperty
BeginProperty ListImage31 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":288C
Key = ""
EndProperty
BeginProperty ListImage32 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":29E6
Key = ""
EndProperty
BeginProperty ListImage33 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":2B40
Key = ""
EndProperty
BeginProperty ListImage34 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":2C9A
Key = ""
EndProperty
BeginProperty ListImage35 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":2DF4
Key = ""
EndProperty
BeginProperty ListImage36 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":2F4E
Key = ""
EndProperty
BeginProperty ListImage37 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":30A8
Key = ""
EndProperty
BeginProperty ListImage38 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":3202
Key = ""
EndProperty
BeginProperty ListImage39 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":335C
Key = ""
EndProperty
BeginProperty ListImage40 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":3B2E
Key = ""
EndProperty
BeginProperty ListImage41 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":3C88
Key = ""
EndProperty
BeginProperty ListImage42 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":3DE2
Key = ""
EndProperty
BeginProperty ListImage43 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":3F3C
Key = ""
EndProperty
BeginProperty ListImage44 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":4096
Key = ""
EndProperty
BeginProperty ListImage45 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":41F0
Key = ""
EndProperty
BeginProperty ListImage46 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":434A
Key = ""
EndProperty
BeginProperty ListImage47 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":44A4
Key = ""
EndProperty
BeginProperty ListImage48 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":45FE
Key = ""
EndProperty
BeginProperty ListImage49 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":4758
Key = ""
EndProperty
BeginProperty ListImage50 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":48B2
Key = ""
EndProperty
BeginProperty ListImage51 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":4A0C
Key = ""
EndProperty
BeginProperty ListImage52 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":4B66
Key = ""
EndProperty
BeginProperty ListImage53 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":4CC0
Key = ""
EndProperty
BeginProperty ListImage54 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":4E1A
Key = ""
EndProperty
BeginProperty ListImage55 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":4F74
Key = ""
EndProperty
BeginProperty ListImage56 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":50CE
Key = ""
EndProperty
BeginProperty ListImage57 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":5228
Key = ""
EndProperty
BeginProperty ListImage58 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":5382
Key = ""
EndProperty
BeginProperty ListImage59 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":54DC
Key = ""
EndProperty
BeginProperty ListImage60 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "Form1.frx":5636
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu mnuFile
Caption = "&File"
Begin VB.Menu mnuOpen
Caption = "Open"
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 Form_Click()
XPUIMenus1.ShowMenu "Menu1", 400, 200
End Sub
Private Sub Form_Load()
Set XPUIMenus1.ImageList = ImageList1
XPUIMenus1.Menus.Add "Menu1"
XPUIMenus1.Menus("Menu1").MenuItems.Add 1, "&Open", , , , False
XPUIMenus1.Menus("Menu1").MenuItems.Add 3, "&Save"
XPUIMenus1.Menus("Menu1").MenuItems.Add 4, "S&ave As..."
XPUIMenus1.Menus("Menu1").MenuItems.Add 0, "", , , , , True
XPUIMenus1.Menus("Menu1").MenuItems.Add 5, "&Exit"
Dim oSubMenu As New XPUIMenu
oSubMenu.MenuItems.Add 6, "Hello World Sub Menu"
oSubMenu.MenuItems.Add , "", , , , , True
oSubMenu.MenuItems.Add 8, "Floyd was eya "
oSubMenu.MenuItems.Add 9, "Floyd was eya "
oSubMenu.MenuItems.Add 10, "Floyd was eya "
oSubMenu.MenuItems.Add 11, "Floyd was eya "
oSubMenu.MenuItems.Add 21, "Floyd was eya "
oSubMenu.MenuItems.Add 14, "Floyd was eya "
oSubMenu.MenuItems.Add 15, "Floyd was eya "
oSubMenu.MenuItems.Add , "Floyd was eya "
oSubMenu.MenuItems.Add , "Floyd was eya "
Dim oSubSubMenu As New XPUIMenu
oSubSubMenu.MenuItems.Add , "Hello World"
Set oSubMenu.MenuItems(1).XPUIMenu = oSubSubMenu
Set XPUIMenus1.Menus("Menu1").MenuItems(1).XPUIMenu = oSubMenu
Set XPUIMenus1.Menus("Menu1").MenuItems(5).XPUIMenu = oSubSubMenu
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -