📄 frm_计量器具信息.frm
字号:
End
End
Begin VB.ComboBox Cdj
Enabled = 0 'False
Height = 300
Left = 6150
Style = 2 'Dropdown List
TabIndex = 28
Top = 1335
Width = 1335
End
Begin VB.ComboBox Czqdw
Appearance = 0 'Flat
Enabled = 0 'False
Height = 300
Left = 2010
Style = 2 'Dropdown List
TabIndex = 27
Top = 3255
Width = 705
End
Begin VB.TextBox Tccbh
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 6150
TabIndex = 25
Top = 2295
Width = 1335
End
Begin VB.TextBox Tsyz
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 3720
TabIndex = 20
Top = 2775
Width = 1425
End
Begin VB.TextBox Tsccj
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 1290
TabIndex = 19
Top = 2295
Width = 3855
End
Begin VB.TextBox Tjdzq
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 1290
TabIndex = 18
Top = 3255
Width = 705
End
Begin VB.TextBox Tfdz
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 6150
TabIndex = 14
Top = 1815
Width = 1335
End
Begin VB.TextBox Tmc
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 3720
TabIndex = 9
Top = 855
Width = 1425
End
Begin VB.TextBox Tclfw
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 3720
TabIndex = 8
Top = 1815
Width = 1425
End
Begin VB.TextBox Tggxh
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 1290
TabIndex = 7
Top = 1815
Width = 1425
End
Begin VB.TextBox Tbh
Appearance = 0 'Flat
Enabled = 0 'False
Height = 285
Left = 1290
TabIndex = 0
Top = 855
Width = 1425
End
Begin MSComCtl2.DTPicker DTPbfrq
Height = 315
Left = 6060
TabIndex = 35
Top = 3210
Visible = 0 'False
Width = 1335
_ExtentX = 2355
_ExtentY = 556
_Version = 393216
Enabled = 0 'False
CalendarTitleBackColor= 16711680
Format = 24838145
CurrentDate = 38507
End
Begin VB.Label Label22
AutoSize = -1 'True
BackColor = &H80000009&
Caption = "计 量 器 具 基 础 信 息 维 护"
BeginProperty Font
Name = "华文行楷"
Size = 15.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00C00000&
Height = 330
Left = 2100
TabIndex = 43
Top = 240
Width = 3825
End
Begin VB.Line Line8
BorderColor = &H80000001&
X1 = -30
X2 = 8530
Y1 = 720
Y2 = 720
End
Begin VB.Line Line7
BorderColor = &H80000001&
X1 = -30
X2 = 8530
Y1 = 3690
Y2 = 3690
End
Begin VB.Line Line6
BorderColor = &H80000001&
X1 = -30
X2 = 8530
Y1 = 3660
Y2 = 3660
End
Begin VB.Line Line2
BorderColor = &H80000001&
X1 = -30
X2 = 8530
Y1 = 750
Y2 = 750
End
Begin VB.Label Label19
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "出厂编号:"
Height = 180
Left = 5280
TabIndex = 26
Top = 2355
Width = 900
End
Begin VB.Label Label16
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "使 用 者:"
Height = 180
Left = 2850
TabIndex = 24
Top = 2835
Width = 900
End
Begin VB.Label Label15
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "生产厂家:"
Height = 180
Left = 420
TabIndex = 23
Top = 2355
Width = 900
End
Begin VB.Label Label14
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "报废日期:"
ForeColor = &H000000C0&
Height = 180
Left = 5190
TabIndex = 22
Top = 3255
Visible = 0 'False
Width = 900
End
Begin VB.Label Label13
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "检定周期:"
Height = 180
Left = 420
TabIndex = 21
Top = 3315
Width = 900
End
Begin VB.Label Label12
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "分 度 值:"
Height = 180
Left = 5280
TabIndex = 17
Top = 1875
Width = 900
End
Begin VB.Label Label11
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "使用部门:"
Height = 180
Left = 420
TabIndex = 16
Top = 2835
Width = 900
End
Begin VB.Label Label10
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "启用日期:"
Height = 180
Left = 5280
TabIndex = 15
Top = 2835
Width = 900
End
Begin VB.Label Label8
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "设备名称:"
Height = 180
Left = 2850
TabIndex = 13
Top = 915
Width = 900
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "设备种别:"
Height = 180
Left = 2850
TabIndex = 12
Top = 1395
Width = 900
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "设备状态:"
Height = 180
Left = 5280
TabIndex = 11
Top = 915
Width = 900
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "测量范围:"
Height = 180
Left = 2850
TabIndex = 10
Top = 1875
Width = 900
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "规格型号:"
Height = 180
Left = 420
TabIndex = 6
Top = 1875
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "管理等级:"
Height = 180
Left = 5280
TabIndex = 5
Top = 1395
Width = 900
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "设备类别:"
Height = 180
Left = 420
TabIndex = 4
Top = 1395
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "设备编号:"
Height = 180
Left = 420
TabIndex = 3
Top = 915
Width = 900
End
End
End
Attribute VB_Name = "Frm_计量器具信息"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim rs As New ADODB.Recordset
Dim Add As Integer
Dim badd As Boolean
Dim Dwmc As String
Dim Jddw As String
Private Sub Qk()
Tbh = ""
Tmc = ""
CZt.Text = ""
Clb.Text = ""
Czb.Text = ""
' Cdj.Text = ""
Tggxh = ""
Tclfw = ""
Tfdz = ""
Tsccj = ""
Tccbh = ""
Csybm.Text = ""
Tsyz = ""
Tjdzq = ""
' Czqdw.Text = ""
'Tjddw = Jddw
Tjdjg = ""
End Sub
Private Sub Sd()
Tbh.Enabled = False
Tmc.Enabled = False
CZt.Enabled = False
Clb.Enabled = False
Czb.Enabled = False
Cdj.Enabled = False
Tggxh.Enabled = False
Tclfw.Enabled = False
Tfdz.Enabled = False
Tsccj.Enabled = False
Tccbh.Enabled = False
Csybm.Enabled = False
Tsyz.Enabled = False
Tjdzq.Enabled = False
Czqdw.Enabled = False
Tjddw.Enabled = False
Tjdjg.Enabled = False
DTPqyrq.Enabled = False
DTPbfrq.Enabled = False
DTPjdrq.Enabled = False
Cjdjg.Enabled = False
End Sub
Private Sub Js()
'Tbh.Enabled = True
Tmc.Enabled = True
CZt.Enabled = True
Clb.Enabled = True
Czb.Enabled = True
Cdj.Enabled = True
Tggxh.Enabled = True
Tclfw.Enabled = True
Tfdz.Enabled = True
Tsccj.Enabled = True
Tccbh.Enabled = True
Csybm.Enabled = True
Tsyz.Enabled = True
Tjdzq.Enabled = True
Czqdw.Enabled = True
Tjddw.Enabled = True
Tjdjg.Enabled = True
DTPqyrq.Enabled = True
DTPbfrq.Enabled = True
DTPjdrq.Enabled = True
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -