📄 放线2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
Caption = "测站输入"
ClientHeight = 3135
ClientLeft = 6510
ClientTop = 4455
ClientWidth = 5535
Icon = "放线2.frx":0000
LinkTopic = "Form2"
ScaleHeight = 3135
ScaleWidth = 5535
Begin VB.CommandButton Command2
Caption = "放弃存盘"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 3360
TabIndex = 4
Top = 2400
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "存盘返回"
BeginProperty Font
Name = "楷体_GB2312"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1080
TabIndex = 3
Top = 2400
Width = 1095
End
Begin VB.TextBox Text3
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
HideSelection = 0 'False
Left = 2520
TabIndex = 2
Text = "0.0000"
Top = 1680
Width = 1575
End
Begin VB.TextBox Text2
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2520
TabIndex = 1
Top = 1080
Width = 1575
End
Begin VB.TextBox Text1
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 2520
TabIndex = 0
Top = 480
Width = 1575
End
Begin VB.Label Label4
Caption = "测站输入"
BeginProperty Font
Name = "宋体"
Size = 15.75
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 360
TabIndex = 8
Top = 600
Width = 375
End
Begin VB.Line Line4
X1 = 5520
X2 = 5520
Y1 = 0
Y2 = 3120
End
Begin VB.Line Line3
X1 = 0
X2 = 0
Y1 = 0
Y2 = 3120
End
Begin VB.Line Line2
X1 = 0
X2 = 5520
Y1 = 3120
Y2 = 3120
End
Begin VB.Line Line1
X1 = 0
X2 = 5520
Y1 = 0
Y2 = 0
End
Begin VB.Label Label3
Caption = "后视角:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 1200
TabIndex = 7
Top = 1680
Width = 855
End
Begin VB.Label Label2
Caption = "后视点:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1200
TabIndex = 6
Top = 1080
Width = 1095
End
Begin VB.Label Label1
Caption = "测站点:"
BeginProperty Font
Name = "楷体_GB2312"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 375
Left = 1200
TabIndex = 5
Top = 480
Width = 855
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim Cz, Dx As String
Cz = Text1.Text: Dx = Text2.Text: Gl = Text3.Text
If Cz = "" Or Dx = "" Then
MsgBox "观测数据不能输入空值,请重新输入!", 0, "测站输入"
Else
Print #1, "#1"; ","; Cz; ","; Dx; ","; Gl; ",-,-,-,-,-,-;"
Close #1
Me.Hide
Unload Me
Form1.Show
End If
End Sub
Private Sub Command2_Click()
Close #1
Me.Hide
Unload Me
Form1.Show
End Sub
Private Sub Form_Load()
Form1.Hide
End Sub
Private Sub Text3_KeyPress(KeyAscii As Integer)
If (KeyAscii < 46 Or KeyAscii > 57) And KeyAscii <> 8 Then
KeyAscii = 0
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
Cancel = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -