📄 checkstandardsingleform.frm
字号:
VERSION 5.00
Begin VB.Form checkstandardsingleform
BorderStyle = 1 'Fixed Single
Caption = "Form1"
ClientHeight = 3765
ClientLeft = 45
ClientTop = 330
ClientWidth = 5955
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3765
ScaleWidth = 5955
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame2
Height = 735
Left = 0
TabIndex = 7
Top = 3000
Width = 5895
Begin VB.CommandButton c_cancel
Caption = "退出"
Height = 375
Left = 4680
TabIndex = 10
Top = 240
Width = 735
End
Begin VB.CommandButton c_save
Caption = "保存"
Default = -1 'True
Height = 375
Left = 3240
TabIndex = 9
Top = 240
Width = 735
End
Begin VB.CommandButton c_new
Caption = "新增"
Height = 375
Left = 1920
TabIndex = 8
Top = 240
Width = 735
End
End
Begin VB.Frame Frame1
Height = 2895
Left = 0
TabIndex = 0
Top = 0
Width = 5895
Begin VB.TextBox Text4
Height = 270
Left = 4200
MaxLength = 100
TabIndex = 28
Top = 2400
Width = 1575
End
Begin VB.TextBox Text3
Height = 270
Left = 4200
MaxLength = 50
TabIndex = 27
Top = 1980
Width = 1575
End
Begin VB.TextBox Text2
Height = 270
Left = 1200
MaxLength = 20
TabIndex = 26
Top = 2160
Width = 1575
End
Begin VB.ComboBox Combo1
Height = 300
Left = 1200
TabIndex = 22
Top = 405
Width = 1575
End
Begin VB.ComboBox Combo4
Height = 300
Left = 1200
TabIndex = 19
Top = 1297
Width = 1575
End
Begin VB.ComboBox Combo3
Height = 300
Left = 1200
TabIndex = 18
Top = 851
Width = 1575
End
Begin VB.TextBox t4
Alignment = 1 'Right Justify
Height = 300
Index = 5
Left = 4200
MaxLength = 2
TabIndex = 16
Top = 1185
Width = 1575
End
Begin VB.TextBox t3
Alignment = 1 'Right Justify
Height = 270
Index = 4
Left = 4200
MaxLength = 20
TabIndex = 15
Top = 1620
Width = 1575
End
Begin VB.TextBox t2
Alignment = 1 'Right Justify
Height = 270
Index = 3
Left = 4200
MaxLength = 20
TabIndex = 14
Top = 780
Width = 1575
End
Begin VB.TextBox t1
Alignment = 1 'Right Justify
Height = 270
Index = 2
Left = 4200
MaxLength = 20
TabIndex = 3
Top = 360
Width = 1575
End
Begin VB.TextBox Text1
Height = 270
Index = 1
Left = 1200
MaxLength = 20
TabIndex = 2
Top = 1743
Width = 1575
End
Begin VB.TextBox Text1
Enabled = 0 'False
Height = 300
Index = 0
Left = 1440
TabIndex = 1
Top = 5040
Visible = 0 'False
Width = 2055
End
Begin VB.Label Label7
AutoSize = -1 'True
Caption = "计测单位:"
Height = 180
Left = 240
TabIndex = 25
Top = 2280
Width = 810
End
Begin VB.Label Label6
AutoSize = -1 'True
Caption = "标准器英文:"
Height = 180
Left = 3150
TabIndex = 24
Top = 2400
Width = 990
End
Begin VB.Label Label5
AutoSize = -1 'True
Caption = "标准器:"
Height = 180
Left = 3420
TabIndex = 23
Top = 1980
Width = 720
End
Begin VB.Label Label2
AutoSize = -1 'True
Caption = "检验项组:"
Height = 180
Left = 150
TabIndex = 21
Top = 1380
Width = 900
End
Begin VB.Label Label3
AutoSize = -1 'True
Caption = "检验值组:"
Height = 180
Left = 150
TabIndex = 20
Top = 960
Width = 900
End
Begin VB.Label Label4
AutoSize = -1 'True
Caption = "产品名称:"
Height = 180
Left = 150
TabIndex = 17
Top = 480
Width = 900
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "小数位数(0-7):"
Height = 180
Index = 5
Left = 2880
TabIndex = 13
Top = 1245
Width = 1260
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "精度要求(0.1%)"
Height = 180
Index = 4
Left = 2880
TabIndex = 12
Top = 1635
Width = 1260
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "分度值:"
Height = 180
Index = 3
Left = 3510
TabIndex = 11
Top = 810
Width = 630
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "量 程:"
Height = 180
Index = 2
Left = 3330
TabIndex = 6
Top = 390
Width = 810
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "检验依据:"
Height = 180
Index = 1
Left = 240
TabIndex = 5
Top = 1800
Width = 810
End
Begin VB.Label Label1
Caption = "检验值ID"
Height = 255
Index = 0
Left = 240
TabIndex = 4
Top = 5040
Visible = 0 'False
Width = 1095
End
End
End
Attribute VB_Name = "checkstandardsingleform"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'**************************************
'* 模 块 名 称 :检验类型设置用户操作界面
'* 功 能 描 述 :检验类型设置用户操作界面
'* 程序员姓名 : 石春晓
'* 最后修改人 : 石春晓
'* 最后修改时间:2005/09/19
'**************************************
Option Explicit
Public m_operatorType As Integer ' 操作类型 0 - 新增 1 - 修改
Public m_checkstandardid As String ' 修改时其它窗体传递过来的参数
Private m_checkstandardDAO As checkstandardDAO ' 数据库操作类
Private m_recordset As ADODB.Recordset ' 数据操作数据集对象
Private m_productionDAO As productionDAO
Private Sub c_cancel_Click()
Unload Me
End Sub
Private Sub c_new_Click()
If m_operatorType = 0 Then
If Not Check Then
Exit Sub
Else
Call Newcheckstandard
clear
End If
End If
End Sub
Private Sub c_save_Click()
If m_operatorType = 0 Then
If Not Check Then
Exit Sub
Else
Call Newcheckstandard
End If
ElseIf m_operatorType = 1 Then
If Not Check Then
Exit Sub
Else
Call Modifycheckstandard
End If
End If
Unload Me
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -