📄 dlgnew.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form dlgNew
BackColor = &H80000016&
BorderStyle = 3 'Fixed Dialog
Caption = "新建"
ClientHeight = 4560
ClientLeft = 1605
ClientTop = 2400
ClientWidth = 7500
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4560
ScaleWidth = 7500
ShowInTaskbar = 0 'False
WhatsThisHelp = -1 'True
Begin MSComctlLib.ImageList ImageList1
Left = 6480
Top = 1800
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 65
ImageHeight = 68
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 1
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "dlgNew.frx":0000
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.ListView ListView1
Height = 4335
Left = 240
TabIndex = 2
Top = 120
Width = 5775
_ExtentX = 10186
_ExtentY = 7646
Arrange = 1
Sorted = -1 'True
LabelWrap = -1 'True
HideSelection = -1 'True
_Version = 393217
Icons = "ImageList1"
SmallIcons = "ImageList1"
ColHdrIcons = "ImageList1"
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 0
End
Begin VB.CommandButton CancelButton
Caption = "取消"
Height = 375
Left = 6120
TabIndex = 1
Top = 1080
Width = 1215
End
Begin VB.CommandButton OKButton
Caption = "确定"
Height = 375
Left = 6120
TabIndex = 0
Top = 360
Width = 1215
End
End
Attribute VB_Name = "dlgNew"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub CancelButton_Click()
Unload Me
End Sub
Private Sub Form_Load()
ListView1.View = lvwIcon
ListView1.ListItems.Add , , "销货合同", 1
ListView1.ListItems.Add , , "购货合同", 1
End Sub
Private Sub OKButton_Click()
Dim a, b, c, d As String
a = GetSetting("e_ms", "personal", "职员编号", Default:="")
b = GetSetting("e_ms", "personal", "职员姓名", Default:="")
c = GetSetting("e_ms", "personal", "所在部门", Default:="")
d = GetSetting("e_ms", "personal", "现任职务", Default:="")
curWork = ListView1.SelectedItem.Text
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -