📄 dlgopen.frm
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form dlgOpen
BorderStyle = 3 'Fixed Dialog
Caption = "打开文件"
ClientHeight = 5355
ClientLeft = 2445
ClientTop = 1725
ClientWidth = 8205
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 5355
ScaleWidth = 8205
ShowInTaskbar = 0 'False
Begin MSComctlLib.ImageList ImageList1
Left = 480
Top = 4560
_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 = "dlgOpen.frx":0000
Key = ""
EndProperty
EndProperty
End
Begin TabDlg.SSTab SSTab1
Height = 4155
Left = 180
TabIndex = 2
Top = 120
Width = 7935
_ExtentX = 13996
_ExtentY = 7329
_Version = 393216
Style = 1
TabHeight = 520
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
TabCaption(0) = "现存文件"
TabPicture(0) = "dlgOpen.frx":3462
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "ListView1"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).ControlCount= 1
TabCaption(1) = "查询条件"
TabPicture(1) = "dlgOpen.frx":347E
Tab(1).ControlEnabled= 0 'False
Tab(1).Control(0)= "Frame1"
Tab(1).ControlCount= 1
TabCaption(2) = "高级检索"
TabPicture(2) = "dlgOpen.frx":349A
Tab(2).ControlEnabled= 0 'False
Tab(2).ControlCount= 0
Begin VB.Frame Frame1
Height = 3495
Left = -74760
TabIndex = 4
Top = 480
Width = 7455
Begin VB.TextBox Text6
Height = 375
Left = 5400
TabIndex = 18
Text = "Text6"
Top = 240
Width = 1695
End
Begin VB.TextBox Text5
Height = 375
Left = 5400
TabIndex = 16
Text = "Text5"
Top = 2520
Width = 1695
End
Begin VB.TextBox Text4
Height = 375
Left = 1440
TabIndex = 15
Text = "Text4"
Top = 2520
Width = 2175
End
Begin VB.CheckBox Check1
Caption = "完成"
Height = 255
Left = 1440
TabIndex = 12
Top = 1800
Width = 1815
End
Begin VB.TextBox Text3
Height = 375
Left = 5400
TabIndex = 10
Text = "Text3"
Top = 1080
Width = 1695
End
Begin VB.TextBox Text2
Height = 375
Left = 1440
TabIndex = 9
Text = "Text2"
Top = 1080
Width = 2175
End
Begin VB.TextBox Text1
Height = 375
Left = 1440
TabIndex = 8
Text = "Text1"
Top = 240
Width = 2175
End
Begin VB.Label Label7
Caption = "项目编号:"
Height = 255
Left = 4320
TabIndex = 17
Top = 360
Width = 975
End
Begin VB.Label Label6
Caption = "结束时间:"
Height = 255
Left = 4320
TabIndex = 14
Top = 2640
Width = 1095
End
Begin VB.Label Label5
Caption = "开始时间:"
Height = 255
Left = 240
TabIndex = 13
Top = 2640
Width = 1335
End
Begin VB.Label Label4
Caption = "完成情况:"
Height = 255
Left = 240
TabIndex = 11
Top = 1920
Width = 1095
End
Begin VB.Label Label3
Caption = "签约部门:"
Height = 255
Left = 4320
TabIndex = 7
Top = 1200
Width = 1215
End
Begin VB.Label Label2
Caption = "签约人:"
Height = 255
Left = 240
TabIndex = 6
Top = 1200
Width = 1215
End
Begin VB.Label Label1
Caption = "公司合同号:"
Height = 255
Left = 240
TabIndex = 5
Top = 360
Width = 1215
End
End
Begin MSComctlLib.ListView ListView1
Height = 3315
Left = 180
TabIndex = 3
Top = 540
Width = 7575
_ExtentX = 13361
_ExtentY = 5847
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
End
Begin VB.CommandButton CancelButton
Caption = "取消"
Height = 375
Left = 6900
TabIndex = 1
Top = 4920
Width = 1215
End
Begin VB.CommandButton OKButton
Caption = "确定"
Height = 375
Left = 6900
TabIndex = 0
Top = 4440
Width = 1215
End
End
Attribute VB_Name = "dlgOpen"
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
ListView1.ListItems.Add , , "销货合同执行情况报表", 1
ListView1.ListItems.Add , , "购货合同执行情况报表", 1
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 + -