?? 放線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 + -