📄 frmmain.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmClient
Caption = "客户管理"
ClientHeight = 8235
ClientLeft = 165
ClientTop = 450
ClientWidth = 10650
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 8235
ScaleWidth = 10650
WindowState = 2 'Maximized
Begin VB.PictureBox picFind
Height = 375
Left = 0
ScaleHeight = 315
ScaleWidth = 10545
TabIndex = 4
Top = 420
Width = 10605
Begin VB.TextBox txtFilte
Height = 315
Left = 6255
TabIndex = 9
Top = 15
Width = 1575
End
Begin VB.ComboBox cmbCondition
Height = 300
ItemData = "frmMain.frx":0000
Left = 3510
List = "frmMain.frx":0016
Style = 2 'Dropdown List
TabIndex = 7
Top = 0
Width = 1575
End
Begin VB.ComboBox cmbTitleItems
Height = 300
Left = 1050
Style = 2 'Dropdown List
TabIndex = 5
Top = 15
Width = 1575
End
Begin MSComctlLib.Toolbar TbrFind
Height = 330
Left = 7890
TabIndex = 11
Top = 0
Width = 855
_ExtentX = 1508
_ExtentY = 582
ButtonWidth = 1349
ButtonHeight = 582
Style = 1
TextAlignment = 1
ImageList = "ImageButton"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 1
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "查找"
ImageKey = "Find"
EndProperty
EndProperty
End
Begin VB.Label Label1
Caption = "查找内容"
Height = 255
Left = 5295
TabIndex = 10
Top = 60
Width = 855
End
Begin VB.Label Label3
Caption = "查找条件"
Height = 255
Left = 2715
TabIndex = 8
Top = 45
Width = 855
End
Begin VB.Label Label2
Caption = "选择字段"
Height = 255
Left = 210
TabIndex = 6
Top = 60
Width = 855
End
End
Begin MSComctlLib.Toolbar tbToolBar
Align = 1 'Align Top
Height = 360
Left = 0
TabIndex = 0
Top = 0
Width = 10650
_ExtentX = 18785
_ExtentY = 635
ButtonWidth = 609
ButtonHeight = 582
Appearance = 1
Style = 1
ImageList = "imlToolbarIcons"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 17
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.Visible = 0 'False
Style = 3
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.Visible = 0 'False
Key = "向前"
Object.ToolTipText = "向前"
ImageKey = "Back"
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.Visible = 0 'False
Key = "返回"
Object.ToolTipText = "返回"
ImageKey = "Forward"
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "新建"
Object.ToolTipText = "新建"
ImageKey = "New"
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "修改"
ImageKey = "Edit"
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "删除"
Object.ToolTipText = "删除"
ImageKey = "Delete"
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "属性"
Object.ToolTipText = "属性"
ImageKey = "Properties"
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "刷新"
ImageKey = "Reflash"
EndProperty
BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.Visible = 0 'False
Key = "查找"
Object.ToolTipText = "查找"
ImageKey = "Find"
EndProperty
BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "大图标"
Object.ToolTipText = "大图标"
ImageKey = "View Large Icons"
Style = 2
EndProperty
BeginProperty Button15 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "小图标"
Object.ToolTipText = "小图标"
ImageKey = "View Small Icons"
Style = 2
EndProperty
BeginProperty Button16 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "列表"
Object.ToolTipText = "列表"
ImageKey = "View List"
Style = 2
EndProperty
BeginProperty Button17 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "详细资料"
Object.ToolTipText = "详细资料"
ImageKey = "View Details"
Style = 2
EndProperty
EndProperty
Begin MSComctlLib.Toolbar tbClass
Height = 330
Left = 5670
TabIndex = 3
Top = 0
Width = 855
_ExtentX = 1508
_ExtentY = 582
ButtonWidth = 1349
ButtonHeight = 582
Style = 1
TextAlignment = 1
ImageList = "ImageButton"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 1
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "分类"
ImageKey = "Class"
EndProperty
EndProperty
End
Begin VB.ComboBox cmbClass
Height = 300
ItemData = "frmMain.frx":0046
Left = 4080
List = "frmMain.frx":005C
Style = 2 'Dropdown List
TabIndex = 2
Tag = "3"
Top = 0
Width = 1530
End
End
Begin MSComctlLib.ImageList imlToolbarIcons
Left = 9300
Top = 2070
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 12
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":009A
Key = "Forward"
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":01AC
Key = "Back"
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":02BE
Key = "New"
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":03D0
Key = "Delete"
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":04E2
Key = "Edit"
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":063C
Key = "Properties"
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":074E
Key = "Find"
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0860
Key = "Reflash"
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":09BA
Key = "View Large Icons"
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0ACC
Key = "View Small Icons"
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0BDE
Key = "View List"
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0CF0
Key = "View Details"
EndProperty
EndProperty
End
Begin MSComctlLib.ListView lstvwClientInfo
Height = 4800
Left = 135
TabIndex = 1
Top = 1575
Width = 8490
_ExtentX = 14975
_ExtentY = 8467
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
_Version = 393217
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
Begin MSComctlLib.ImageList ImageButton
Left = 9435
Top = 1290
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 2
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0E02
Key = "Find"
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0F14
Key = "Class"
EndProperty
EndProperty
End
Begin VB.Menu mnuFile
Caption = "文件(&F)"
Begin VB.Menu mnuFileClose
Caption = "关闭(&C)"
End
End
Begin VB.Menu mnuView
Caption = "视图(&V)"
Begin VB.Menu mnuViewToolbar
Caption = "工具栏(&T)"
Checked = -1 'True
End
Begin VB.Menu mnuViewStatusBar
Caption = "状态栏(&B)"
Checked = -1 'True
End
End
Begin VB.Menu mnuHelp
Caption = "帮助(&H)"
Begin VB.Menu mnuHelpAbout
Caption = "关于(&A) "
End
End
End
Attribute VB_Name = "frmClient"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'/////////////////////////////////////////////////
'// 客户信息模块 //
'/////////////////////////////////////////////////
Option Explicit
Private Const LISTVIEW_MODE0 = "大图标"
Private Const LISTVIEW_MODE1 = "小图标"
Private Const LISTVIEW_MODE2 = "列表"
Private Const LISTVIEW_MODE3 = "详细资料"
Dim mFrmMyMenu As New frmMenu
Dim mSelectItem As Integer
Dim mIsChangedBool As Boolean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -