📄 frmverdatainput2.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form FrmVerDataInput2
Caption = "水准观测数据输入(2/2)"
ClientHeight = 6585
ClientLeft = 60
ClientTop = 345
ClientWidth = 10230
BeginProperty Font
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 6585
ScaleWidth = 10230
StartUpPosition = 3 'Windows Default
Begin VB.TextBox Text1
BeginProperty Font
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 480
TabIndex = 10
Top = 4560
Width = 975
End
Begin VB.CommandButton CmdEnd
Caption = "全部结束"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 6480
TabIndex = 6
Top = 5880
Width = 1215
End
Begin VB.CommandButton CmdSave
Caption = "保存"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3720
TabIndex = 5
Top = 5880
Width = 1215
End
Begin VB.CommandButton CmdUpPage
Caption = "上一页"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 960
TabIndex = 4
Top = 5880
Width = 1215
End
Begin MSFlexGridLib.MSFlexGrid Grid2
Height = 5055
Left = 5280
TabIndex = 3
Top = 720
Width = 4695
_ExtentX = 8281
_ExtentY = 8916
_Version = 393216
Cols = 5
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin MSFlexGridLib.MSFlexGrid Grid1
Height = 4935
Left = 2160
TabIndex = 2
Top = 720
Width = 2775
_ExtentX = 4895
_ExtentY = 8705
_Version = 393216
Cols = 3
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.CheckBox ChkRule
BackColor = &H008080FF&
Caption = "是否尺子读数加倍"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 120
TabIndex = 1
Top = 2160
Width = 1815
End
Begin VB.CheckBox ChkNet
BackColor = &H008080FF&
Caption = "是否用后验方差"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 120
TabIndex = 0
Top = 1080
Width = 1815
End
Begin VB.Label Label1
Caption = "请输入验前中误差(每公里或每测站中误差(单位:mm))"
Height = 615
Left = 120
TabIndex = 9
Top = 3720
Width = 1815
End
Begin VB.Label Lbl2
Caption = "请输入所有高差观测值"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 6840
TabIndex = 8
Top = 240
Width = 2055
End
Begin VB.Label Lbl1
Caption = "请输入所有点的点名和已知点高程"
BeginProperty Font
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2760
TabIndex = 7
Top = 120
Width = 1575
End
End
Attribute VB_Name = "FrmVerDataInput2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim wgridcol1, wgridcol2, wgridrow1, wgridrow2 As Integer
Dim FileName1, FileName2 As String, FileName3 As String
Private Sub ChkNet_Click()
If ChkNet Then
g_Net = 1
Label1.Enabled = False
Label1.Visible = False
Text1.Enabled = False
Text1.Visible = False
Else
Label1.Enabled = True
Label1.Visible = True
Text1.Enabled = True
Text1.Visible = True
g_Net = 0
End If
End Sub
Private Sub ChkRule_Click()
If ChkRule Then
g_Ih = 1
Else
g_Ih = 0
End If
End Sub
Private Sub CmdEnd_Click()
Call VerDataInput2Save
g_Info1 = 1
Set arecord = g_d_Base.OpenRecordset("信息表", dbOpenTable)
With arecord
.Edit
.Fields(0) = 1
.Update
.Close
End With
FrmMain.StatusBar1.Panels(1).Text = "观测数据已完成"
FrmMain.MnuAdjustCal.Enabled = True
FrmMain.MnuViewResult.Enabled = True
Unload FrmVerDataInput1
Unload FrmVerDataInput2
End Sub
Private Sub CmdSave_Click()
Call VerDataInput2Save
End Sub
Private Sub CmdUpPage_Click()
Load FrmVerDataInput1
FrmVerDataInput1.Show
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -